summaryrefslogtreecommitdiffstats
path: root/ospfd/ospf_te.c
diff options
context:
space:
mode:
authorDaniel Walton <dwalton@cumulusnetworks.com>2016-09-30 03:27:05 +0200
committerDaniel Walton <dwalton@cumulusnetworks.com>2016-09-30 03:27:05 +0200
commit1d68dbfe66479d81a570d8d4aa2d0f0d7ba57184 (patch)
tree86e24c95b6a508cdf97bdabac318d4e5e017418e /ospfd/ospf_te.c
parentall: scrubbed some argc CHECK MEs (diff)
downloadfrr-1d68dbfe66479d81a570d8d4aa2d0f0d7ba57184.tar.xz
frr-1d68dbfe66479d81a570d8d4aa2d0f0d7ba57184.zip
ospf6d: scrubbed some argc CHECK MEs
Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com>
Diffstat (limited to 'ospfd/ospf_te.c')
-rw-r--r--ospfd/ospf_te.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ospfd/ospf_te.c b/ospfd/ospf_te.c
index ac9f9c7d3..26034fd36 100644
--- a/ospfd/ospf_te.c
+++ b/ospfd/ospf_te.c
@@ -2620,13 +2620,12 @@ DEFUN (show_ip_ospf_mpls_te_link,
"Interface information\n"
"Interface name\n")
{
- /* CHECK ME argc referenced below */
int idx_interface = 5;
struct interface *ifp;
struct listnode *node, *nnode;
/* Show All Interfaces. */
- if (argc == 0)
+ if (argc == 5)
{
for (ALL_LIST_ELEMENTS (vrf_iflist (VRF_DEFAULT), node, nnode, ifp))
show_mpls_te_link_sub (vty, ifp);