ip: fix ip zero checksum verification
[vpp.git] / src / vnet / ipfix-export / ipfix_doc.md
index 5feea0e..1c7aad7 100644 (file)
@@ -1,4 +1,4 @@
-# IPFIX support {#ipfix}
+# IPFIX support {#ipfix_doc}
 
 VPP includes a high-performance IPFIX record exporter. This note
 explains how to use the internal APIs to export IPFIX data, and how to
@@ -259,7 +259,7 @@ This function creates the packet header for an ipfix data packet
        udp->checksum = 0xffff;
           }
 
-        ASSERT (ip->checksum == ip4_header_checksum (ip));
+        ASSERT (ip4_header_checksum_is_valid (ip));
 
         vlib_put_frame_to_node (vm, ip4_lookup_node.index, f);
       }