summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/vnet/ip6-nd/ip6_nd_proxy.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/vnet/ip6-nd/ip6_nd_proxy.c b/src/vnet/ip6-nd/ip6_nd_proxy.c
index ea7ca568946..256b48581bb 100644
--- a/src/vnet/ip6-nd/ip6_nd_proxy.c
+++ b/src/vnet/ip6-nd/ip6_nd_proxy.c
@@ -107,6 +107,10 @@ set_ip6_nd_proxy_cmd (vlib_main_t * vm,
return (unformat_parse_error (input));
}
}
+ else
+ {
+ return error;
+ }
ip6_nd_proxy_add_del (sw_if_index, &addr, is_del);