summaryrefslogtreecommitdiffstats
path: root/isisd/isis_te.c
diff options
context:
space:
mode:
authorDaniel Walton <dwalton@cumulusnetworks.com>2016-09-23 03:07:05 +0200
committerDaniel Walton <dwalton@cumulusnetworks.com>2016-09-23 03:07:05 +0200
commitb823bd432cd92234c48bedfd62f4649c8937502c (patch)
tree4db607e7cc8d98b1c6bbe36ff0103273b87bc7fa /isisd/isis_te.c
parentlib: argv update for filter.c, if_rmap.c keychain.c and plist.c (diff)
downloadfrr-b823bd432cd92234c48bedfd62f4649c8937502c.tar.xz
frr-b823bd432cd92234c48bedfd62f4649c8937502c.zip
isisd: argv update
Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com>
Diffstat (limited to 'isisd/isis_te.c')
-rw-r--r--isisd/isis_te.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/isisd/isis_te.c b/isisd/isis_te.c
index 022722f76..0a327c754 100644
--- a/isisd/isis_te.c
+++ b/isisd/isis_te.c
@@ -1167,7 +1167,7 @@ DEFUN (isis_mpls_te_router_addr,
struct listnode *node;
struct isis_area *area;
- if (! inet_aton (argv[0], &value))
+ if (! inet_aton (argv[2]->arg, &value))
{
vty_out (vty, "Please specify Router-Addr by A.B.C.D%s", VTY_NEWLINE);
return CMD_WARNING;
@@ -1329,7 +1329,7 @@ DEFUN (show_isis_mpls_te_interface,
/* Interface name is specified. */
else
{
- if ((ifp = if_lookup_by_name (argv[0])) == NULL)
+ if ((ifp = if_lookup_by_name (argv[4]->arg)) == NULL)
vty_out (vty, "No such interface name%s", VTY_NEWLINE);
else
show_mpls_te_sub (vty, ifp);