X-Git-Url: https://gerrit.fd.io/r/gitweb?p=vpp.git;a=blobdiff_plain;f=src%2Fvnet%2Fip%2Fip4_packet.h;h=3872ccdd4652f3d8284f7598573b74f555426b58;hp=1d3607ea34cd1003842d6f86f35cc041a5674fcd;hb=e5b94dded;hpb=9ace36d0f9b04e2d4db410607ee33a8e72ef00c5 diff --git a/src/vnet/ip/ip4_packet.h b/src/vnet/ip/ip4_packet.h index 1d3607ea34c..3872ccdd465 100644 --- a/src/vnet/ip/ip4_packet.h +++ b/src/vnet/ip/ip4_packet.h @@ -322,7 +322,7 @@ ip4_header_clear_df (ip4_header_t * ip4) } always_inline u8 -ip4_header_get_df (ip4_header_t * ip4) +ip4_header_get_df (const ip4_header_t * ip4) { return (! !(ip4->flags_and_fragment_offset & clib_host_to_net_u16 (IP4_HEADER_FLAG_DONT_FRAGMENT)));