aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/ip/ip6_packet.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/vnet/ip/ip6_packet.h')
-rw-r--r--src/vnet/ip/ip6_packet.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/ip/ip6_packet.h b/src/vnet/ip/ip6_packet.h
index 9bf19edb5db..bb7d703926b 100644
--- a/src/vnet/ip/ip6_packet.h
+++ b/src/vnet/ip/ip6_packet.h
@@ -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))); \
} \