aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMohsin Kazmi <sykazmi@cisco.com>2019-01-07 15:33:13 +0100
committerMohsin Kazmi <sykazmi@cisco.com>2019-01-07 15:33:13 +0100
commit78d62422e1d213e301a887eaab2983791a6d0078 (patch)
tree27bbc7940590d6beedd874604b33da8a524451f4 /src
parent356824fa3ccd1adb96fe6834458923aa9536517a (diff)
gbp: Fix typo in condition
Change-Id: Ib474e2af98d98d54c9fc4070fab56799555c0f31 Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com>
Diffstat (limited to 'src')
-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)
{