X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fplugins%2Fsrv6-ad%2Fnode.c;h=9d4ea44e19b09c7488380bdb8019f6159fd333bd;hb=30e7671c85087b5781a34bde45ef3846f5de8c17;hp=dbd68cf4c987fecb1ab7efa1e976009deed8954a;hpb=619179cfcdb087acb0864d273c4fbd3b7396974c;p=vpp.git diff --git a/src/plugins/srv6-ad/node.c b/src/plugins/srv6-ad/node.c index dbd68cf4c98..9d4ea44e19b 100644 --- a/src/plugins/srv6-ad/node.c +++ b/src/plugins/srv6-ad/node.c @@ -156,7 +156,7 @@ end_ad_processing (vlib_buffer_t * b0, /* Make sure next header is valid */ if (PREDICT_FALSE (next_hdr != IP_PROTOCOL_IPV6 && next_hdr != IP_PROTOCOL_IP_IN_IP && - next_hdr != IP_PROTOCOL_IP6_NONXT)) + next_hdr != IP_PROTOCOL_IP6_ETHERNET)) { return; } @@ -175,7 +175,7 @@ end_ad_processing (vlib_buffer_t * b0, /* Remove IP header and extensions */ vlib_buffer_advance (b0, total_size); - if (next_hdr == IP_PROTOCOL_IP6_NONXT) + if (next_hdr == IP_PROTOCOL_IP6_ETHERNET) { /* Set output interface */ vnet_buffer (b0)->sw_if_index[VLIB_TX] = ls0_mem->sw_if_index_out;