ioam: ip6 hop by hop ext header and SR header co-existence
[vpp.git] / src / vnet / ip / ip6_packet.h
index 9bf19ed..bb7d703 100644 (file)
@@ -484,7 +484,7 @@ else                                                    \
   {                                                     \
     (p) = ip6_ext_next_header((p));                     \
   }                                                     \
-  if ( ip6_ext_hdr((p)->next_hdr) == (t))               \
+  if ( ((p)->next_hdr) == (t))                          \
   {                                                     \
     (m) = (void *)(ip6_ext_next_header((p)));           \
   }                                                     \