summaryrefslogtreecommitdiffstats
path: root/src/vnet
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:21:40 +0000
commit39cdca35c54f305239580c9a406ece1e8331894e (patch)
treec18760fac682a01e8776d77ae2266bc6623cc07c /src/vnet
parentf60b77c159c794c5a847b76d77a12c584a85bfbd (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/vnet')
-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 c1566551669..4d8e213d4ce 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))
{