summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Wallace <dwallacelf@gmail.com>2017-12-18 17:19:21 -0500
committerChris Luke <chris_luke@comcast.com>2017-12-19 00:12:20 +0000
commitf13f6a4dc9b68d6972ffbfb1dd94912d66887358 (patch)
treeef84c3b78a08ba70a15061d62df4f42ed301fa25
parent97b1a27130d540ef7046638b9b3e01d83be71c14 (diff)
lldp: Fix Coverity Warnings CID 177942, CID 177945
Change-Id: Ic1ab32c5df3f7a613fe0dcd6bfc15037fa2a008b Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
-rw-r--r--src/vnet/lldp/lldp_cli.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/lldp/lldp_cli.c b/src/vnet/lldp/lldp_cli.c
index 239a7abe082..8bedfcf8ea0 100644
--- a/src/vnet/lldp/lldp_cli.c
+++ b/src/vnet/lldp/lldp_cli.c
@@ -95,7 +95,7 @@ lldp_cfg_intf_set (u32 hw_if_index, u8 ** port_desc, u8 ** mgmt_ip4,
if (mgmt_oid && *mgmt_oid)
{
n->mgmt_oid = *mgmt_oid;
- *mgmt_ip6 = NULL;
+ *mgmt_oid = NULL;
}
const vnet_sw_interface_t *sw =