summaryrefslogtreecommitdiffstats
path: root/src/plugins/gbp/gbp_classify.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/gbp/gbp_classify.c')
-rw-r--r--src/plugins/gbp/gbp_classify.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/gbp/gbp_classify.c b/src/plugins/gbp/gbp_classify.c
index 94044ae7214..8850644078c 100644
--- a/src/plugins/gbp/gbp_classify.c
+++ b/src/plugins/gbp/gbp_classify.c
@@ -392,7 +392,7 @@ gbp_lpm_classify_inline (vlib_main_t * vm,
if (DPO_PROTO_IP4 == dproto)
ip4_0 = vlib_buffer_get_current (b0);
- else if (DPO_PROTO_IP4 == dproto)
+ else if (DPO_PROTO_IP6 == dproto)
ip6_0 = vlib_buffer_get_current (b0);
else if (DPO_PROTO_ETHERNET == dproto)
{