diff options
| author | Christian Hopps <chopps@labn.net> | 2024-01-22 01:15:38 +0000 |
|---|---|---|
| committer | Christian Hopps <chopps@labn.net> | 2024-01-22 11:32:29 +0000 |
| commit | a993b8e9bb71407e4adb478e8a57f35fdf85febd (patch) | |
| tree | 72a8a9134010111501471575a82375a0a130db05 /ripngd | |
| parent | eba64f79cc9090a1a706291442dc02597e359cac (diff) | |
lib: enable multiple instance support with distribute lists
Signed-off-by: Christian Hopps <chopps@labn.net>
Diffstat (limited to 'ripngd')
| -rw-r--r-- | ripngd/ripng_cli.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ripngd/ripng_cli.c b/ripngd/ripng_cli.c index 88b9354d95..c5ffefe96b 100644 --- a/ripngd/ripng_cli.c +++ b/ripngd/ripng_cli.c @@ -533,7 +533,8 @@ DEFUN (ripng_ipv6_distribute_list, if (argv[argc - 1]->type == VARIABLE_TKN) ifname = argv[argc - 1]->arg; - return distribute_list_parser(prefix, false, argv[3 + prefix]->text, + return distribute_list_parser(NULL, prefix, false, + argv[3 + prefix]->text, argv[2 + prefix]->arg, ifname); } @@ -555,7 +556,7 @@ DEFUN (ripng_no_ipv6_distribute_list, if (argv[argc - 1]->type == VARIABLE_TKN) ifname = argv[argc - 1]->arg; - return distribute_list_no_parser(vty, prefix, false, + return distribute_list_no_parser(NULL, vty, prefix, false, argv[4 + prefix]->text, argv[3 + prefix]->arg, ifname); } |
