diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2016-09-20 23:46:23 -0400 | 
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2016-09-20 23:46:23 -0400 | 
| commit | 38c249987301aac93bebc0cb7b51784d5827c066 (patch) | |
| tree | 44549042b4384ef2e7088ffa3f3a815569b739ec /isisd/isis_routemap.c | |
| parent | 224a3ed809ae23539cd49b85ada8516cb0b0a762 (diff) | |
isisd: Make work under new regime
Diffstat (limited to 'isisd/isis_routemap.c')
| -rw-r--r-- | isisd/isis_routemap.c | 20 | 
1 files changed, 10 insertions, 10 deletions
diff --git a/isisd/isis_routemap.c b/isisd/isis_routemap.c index fdc0100e77..f8a7e90065 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[0]->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[0]->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[0]->arg);  }  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]); +  return isis_route_match_delete (vty, vty->index, "ip address prefix-list", argv[0]->arg);  }  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]); +  return isis_route_match_add(vty, vty->index, "ipv6 address", argv[0]->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[0]->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[0]->arg);  }  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]); +  return isis_route_match_delete (vty, vty->index, "ipv6 address prefix-list", argv[0]->arg);  }  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]); +  return isis_route_set_add(vty, vty->index, "metric", argv[0]->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[0]->arg);  }  ALIAS (no_set_metric,  | 
