summaryrefslogtreecommitdiffstats
path: root/isisd/isis_routemap.c
diff options
context:
space:
mode:
authorDaniel Walton <dwalton@cumulusnetworks.com>2016-09-22 20:21:30 +0200
committerDaniel Walton <dwalton@cumulusnetworks.com>2016-09-22 20:21:30 +0200
commit66c1ec097ed75f7161d00f6fb9fe6e76b10e0a6e (patch)
tree15ceab9f5533350a46e54ab2c219a8fc66778b5f /isisd/isis_routemap.c
parentbgpd: more bgp_vty.c parser conversion (diff)
downloadfrr-66c1ec097ed75f7161d00f6fb9fe6e76b10e0a6e.tar.xz
frr-66c1ec097ed75f7161d00f6fb9fe6e76b10e0a6e.zip
Revert "isisd: Make work under new regime"
This reverts commit 38c249987301aac93bebc0cb7b51784d5827c066.
Diffstat (limited to 'isisd/isis_routemap.c')
-rw-r--r--isisd/isis_routemap.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/isisd/isis_routemap.c b/isisd/isis_routemap.c
index f8a7e9006..fdc0100e7 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]->arg);
+ return isis_route_match_add(vty, vty->index, "ip address", argv[0]);
}
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]->arg);
+ return isis_route_match_delete(vty, vty->index, "ip address", argv[0]);
}
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]->arg);
+ return isis_route_match_add(vty, vty->index, "ip address prefix-list", argv[0]);
}
DEFUN (no_match_ip_address_prefix_list,
@@ -406,7 +406,7 @@ DEFUN (no_match_ip_address_prefix_list,
{
if (argc == 0)
return isis_route_match_delete (vty, vty->index, "ip address prefix-list", NULL);
- return isis_route_match_delete (vty, vty->index, "ip address prefix-list", argv[0]->arg);
+ return isis_route_match_delete (vty, vty->index, "ip address prefix-list", argv[0]);
}
ALIAS (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]->arg);
+ return isis_route_match_add(vty, vty->index, "ipv6 address", argv[0]);
}
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]->arg);
+ return isis_route_match_delete(vty, vty->index, "ipv6 address", argv[0]);
}
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]->arg);
+ return isis_route_match_add(vty, vty->index, "ipv6 address prefix-list", argv[0]);
}
DEFUN (no_match_ipv6_address_prefix_list,
@@ -479,7 +479,7 @@ DEFUN (no_match_ipv6_address_prefix_list,
{
if (argc == 0)
return isis_route_match_delete (vty, vty->index, "ipv6 address prefix-list", NULL);
- return isis_route_match_delete (vty, vty->index, "ipv6 address prefix-list", argv[0]->arg);
+ return isis_route_match_delete (vty, vty->index, "ipv6 address prefix-list", argv[0]);
}
ALIAS (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]->arg);
+ return isis_route_set_add(vty, vty->index, "metric", argv[0]);
}
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]->arg);
+ return isis_route_set_delete(vty, vty->index, "metric", argv[0]);
}
ALIAS (no_set_metric,