diff options
author | Daniel Walton <dwalton@cumulusnetworks.com> | 2016-09-23 03:07:05 +0200 |
---|---|---|
committer | Daniel Walton <dwalton@cumulusnetworks.com> | 2016-09-23 03:07:05 +0200 |
commit | b823bd432cd92234c48bedfd62f4649c8937502c (patch) | |
tree | 4db607e7cc8d98b1c6bbe36ff0103273b87bc7fa /isisd/isis_routemap.c | |
parent | lib: argv update for filter.c, if_rmap.c keychain.c and plist.c (diff) | |
download | frr-b823bd432cd92234c48bedfd62f4649c8937502c.tar.xz frr-b823bd432cd92234c48bedfd62f4649c8937502c.zip |
isisd: argv update
Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com>
Diffstat (limited to 'isisd/isis_routemap.c')
-rw-r--r-- | isisd/isis_routemap.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/isisd/isis_routemap.c b/isisd/isis_routemap.c index fdc0100e7..86d5efd77 100644 --- a/isisd/isis_routemap.c +++ b/isisd/isis_routemap.c @@ -354,7 +354,7 @@ DEFUN (match_ip_address, "IP access-list number (expanded range)\n" "IP Access-list name\n") { - return isis_route_match_add(vty, vty->index, "ip address", argv[0]); + return isis_route_match_add(vty, vty->index, "ip address", argv[3]->arg); } DEFUN (no_match_ip_address, @@ -370,7 +370,7 @@ DEFUN (no_match_ip_address, { if (argc == 0) return isis_route_match_delete(vty, vty->index, "ip address", NULL); - return isis_route_match_delete(vty, vty->index, "ip address", argv[0]); + return isis_route_match_delete(vty, vty->index, "ip address", argv[4]->arg); } ALIAS (no_match_ip_address, @@ -392,7 +392,7 @@ DEFUN (match_ip_address_prefix_list, "Match entries of prefix-lists\n" "IP prefix-list name\n") { - return isis_route_match_add(vty, vty->index, "ip address prefix-list", argv[0]); + return isis_route_match_add(vty, vty->index, "ip address prefix-list", argv[4]->arg); } DEFUN (no_match_ip_address_prefix_list, @@ -429,7 +429,7 @@ DEFUN (match_ipv6_address, "Match IPv6 address of route\n" "IPv6 access-list name\n") { - return isis_route_match_add(vty, vty->index, "ipv6 address", argv[0]); + return isis_route_match_add(vty, vty->index, "ipv6 address", argv[3]->arg); } DEFUN (no_match_ipv6_address, @@ -443,7 +443,7 @@ DEFUN (no_match_ipv6_address, { if (argc == 0) return isis_route_match_delete(vty, vty->index, "ipv6 address", NULL); - return isis_route_match_delete(vty, vty->index, "ipv6 address", argv[0]); + return isis_route_match_delete(vty, vty->index, "ipv6 address", argv[4]->arg); } ALIAS (no_match_ipv6_address, @@ -465,7 +465,7 @@ DEFUN (match_ipv6_address_prefix_list, "Match entries of prefix-lists\n" "IP prefix-list name\n") { - return isis_route_match_add(vty, vty->index, "ipv6 address prefix-list", argv[0]); + return isis_route_match_add(vty, vty->index, "ipv6 address prefix-list", argv[4]->arg); } DEFUN (no_match_ipv6_address_prefix_list, @@ -504,7 +504,7 @@ DEFUN (set_metric, "Metric vale for destination routing protocol\n" "Metric value\n") { - return isis_route_set_add(vty, vty->index, "metric", argv[0]); + return isis_route_set_add(vty, vty->index, "metric", argv[2]->arg); } DEFUN (no_set_metric, @@ -517,7 +517,7 @@ DEFUN (no_set_metric, { if (argc == 0) return isis_route_set_delete(vty, vty->index, "metric", NULL); - return isis_route_set_delete(vty, vty->index, "metric", argv[0]); + return isis_route_set_delete(vty, vty->index, "metric", argv[3]->arg); } ALIAS (no_set_metric, |