summaryrefslogtreecommitdiff
path: root/eigrpd
diff options
context:
space:
mode:
authorChristian Hopps <chopps@labn.net>2024-01-22 01:15:38 +0000
committerChristian Hopps <chopps@labn.net>2024-01-22 11:32:29 +0000
commita993b8e9bb71407e4adb478e8a57f35fdf85febd (patch)
tree72a8a9134010111501471575a82375a0a130db05 /eigrpd
parenteba64f79cc9090a1a706291442dc02597e359cac (diff)
lib: enable multiple instance support with distribute lists
Signed-off-by: Christian Hopps <chopps@labn.net>
Diffstat (limited to 'eigrpd')
-rw-r--r--eigrpd/eigrp_routemap.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/eigrpd/eigrp_routemap.c b/eigrpd/eigrp_routemap.c
index 84f27d0167..5a1634592f 100644
--- a/eigrpd/eigrp_routemap.c
+++ b/eigrpd/eigrp_routemap.c
@@ -1123,7 +1123,7 @@ DEFUN (eigrp_distribute_list,
if (argv[argc - 1]->type == VARIABLE_TKN)
ifname = argv[argc - 1]->arg;
- return distribute_list_parser(prefix, true, argv[2 + prefix]->text,
+ return distribute_list_parser(NULL, prefix, true, argv[2 + prefix]->text,
argv[1 + prefix]->arg, ifname);
}
@@ -1144,14 +1144,14 @@ DEFUN (eigrp_no_distribute_list,
if (argv[argc - 1]->type == VARIABLE_TKN)
ifname = argv[argc - 1]->arg;
- return distribute_list_no_parser(vty, prefix, true,
+ return distribute_list_no_parser(NULL, vty, prefix, true,
argv[3 + prefix]->text,
argv[2 + prefix]->arg, ifname);
}
/* Route-map init */
-void eigrp_route_map_init()
+void eigrp_route_map_init(void)
{
route_map_init();
route_map_init_vty();