summaryrefslogtreecommitdiffstats
path: root/src/vnet/ip/ip6_punt_drop.c
diff options
context:
space:
mode:
authorSwarup Nayak <swarupnpvt@gmail.com>2017-12-11 17:36:54 +0530
committerNeale Ranns <nranns@cisco.com>2017-12-12 09:06:22 +0000
commit4112e389ea934463fd2160c8f24edaf11bc931b0 (patch)
tree9c7ba36e0ac3ecfb3ba4fb6b5629622f91f3d8dc /src/vnet/ip/ip6_punt_drop.c
parent561af9b441c7392cf391dd46399b0b16b876a08a (diff)
VPP-1092 Correcting ip punt delete flow, when recv if index valid but doesnt exist in configuration
Change-Id: I01a69c4eef2c6224a24907b8fed12dcb1b642307 Signed-off-by: Swarup Nayak <swarupnpvt@gmail.com>
Diffstat (limited to 'src/vnet/ip/ip6_punt_drop.c')
-rw-r--r--src/vnet/ip/ip6_punt_drop.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/vnet/ip/ip6_punt_drop.c b/src/vnet/ip/ip6_punt_drop.c
index 4c4240ee7a3..a46b7d9024f 100644
--- a/src/vnet/ip/ip6_punt_drop.c
+++ b/src/vnet/ip/ip6_punt_drop.c
@@ -207,14 +207,15 @@ VLIB_CLI_COMMAND (ip6_punt_policer_command, static) =
.function = ip6_punt_police_cmd,
.short_help = "ip6 punt policer [add|del] <index>",
};
-/* *INDENT-ON* */
+
ip_punt_redirect_t ip6_punt_redirect_cfg = {
.any_rx_sw_if_index = {
- .tx_sw_if_index = ~0,
- }
- ,
+ .tx_sw_if_index = ~0,
+ .adj_index = ADJ_INDEX_INVALID,
+ },
};
+/* *INDENT-ON* */
#define foreach_ip6_punt_redirect_error \
_(DROP, "ip6 punt redirect drop")