Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(from parent 1:
8539770
)
Coverity Error: logically dead code in IP unnumbered CLI
23/5923/2
author
Neale Ranns
<nranns@cisco.com>
Wed, 29 Mar 2017 16:34:10 +0000
(09:34 -0700)
committer
Ole Trøan
<otroan@employees.org>
Wed, 29 Mar 2017 19:22:17 +0000
(19:22 +0000)
Change-Id: Id3398bd4b7a56c168aaab37942b92715e19d4025
Signed-off-by: Neale Ranns <nranns@cisco.com>
src/vnet/interface_cli.c
patch
|
blob
|
history
diff --git
a/src/vnet/interface_cli.c
b/src/vnet/interface_cli.c
index
5640966
..
b17072a
100644
(file)
--- 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))
{