summaryrefslogtreecommitdiffstats
path: root/ospfd/ospf_te.c
diff options
context:
space:
mode:
authorRenato Westphal <renato@opensourcerouting.org>2017-08-25 02:43:29 +0200
committerRenato Westphal <renato@opensourcerouting.org>2017-08-25 02:49:39 +0200
commit0af35d90a125952d04aa892522b6be324f2dfbf7 (patch)
tree30a64161c4e98d6695d8c3104d4dba1c41d8e767 /ospfd/ospf_te.c
parentpimd: Cleanup a variety of SA issues (diff)
downloadfrr-0af35d90a125952d04aa892522b6be324f2dfbf7.tar.xz
frr-0af35d90a125952d04aa892522b6be324f2dfbf7.zip
*: fix assorted issues detected by Coverity Scan
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'ospfd/ospf_te.c')
-rw-r--r--ospfd/ospf_te.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ospfd/ospf_te.c b/ospfd/ospf_te.c
index 1c1c76c1a..551700890 100644
--- a/ospfd/ospf_te.c
+++ b/ospfd/ospf_te.c
@@ -2425,7 +2425,7 @@ DEFUN (show_ip_ospf_mpls_te_router,
if (ntohs(OspfMplsTE.router_addr.header.type) != 0)
show_vty_router_addr(vty,
&OspfMplsTE.router_addr.header);
- else if (vty != NULL)
+ else
vty_out(vty, " N/A\n");
}
return CMD_SUCCESS;