aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorNeale Ranns <nranns@cisco.com>2017-03-29 09:34:10 -0700
committerOle Trøan <otroan@employees.org>2017-03-29 19:22:17 +0000
commit2c0d0fed47ada96346aa97c30de6fddf462d9a59 (patch)
treeac48d60de6f2cf45e04c753cf8dfd501fe028ebc /src
parent8539770ecb104b606bcfdcced307af9a2f9e47dd (diff)
Coverity Error: logically dead code in IP unnumbered CLI
Change-Id: Id3398bd4b7a56c168aaab37942b92715e19d4025 Signed-off-by: Neale Ranns <nranns@cisco.com>
Diffstat (limited to 'src')
-rw-r--r--src/vnet/interface_cli.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/vnet/interface_cli.c b/src/vnet/interface_cli.c
index 5640966c..b17072af 100644
--- a/src/vnet/interface_cli.c
+++ b/src/vnet/interface_cli.c
@@ -885,10 +885,6 @@ set_unnumbered (vlib_main_t * vm,
ip6_main.lookup_main.if_address_pool_index_by_sw_if_index
[inherit_from_sw_if_index];
}
- else
- {
- return (0);
- }
if (was_unnum != (si->flags & VNET_SW_INTERFACE_FLAG_UNNUMBERED))
{