gbp: Fix typo in condition 11/16711/1
authorMohsin Kazmi <sykazmi@cisco.com>
Mon, 7 Jan 2019 14:33:13 +0000 (15:33 +0100)
committerMohsin Kazmi <sykazmi@cisco.com>
Mon, 7 Jan 2019 14:33:13 +0000 (15:33 +0100)
Change-Id: Ib474e2af98d98d54c9fc4070fab56799555c0f31
Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com>
src/plugins/gbp/gbp_classify.c

index 94044ae..8850644 100644 (file)
@@ -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)
            {