diff options
author | Christian Hopps <chopps@labn.net> | 2024-01-22 02:15:38 +0100 |
---|---|---|
committer | Christian Hopps <chopps@labn.net> | 2024-01-22 12:32:29 +0100 |
commit | a993b8e9bb71407e4adb478e8a57f35fdf85febd (patch) | |
tree | 72a8a9134010111501471575a82375a0a130db05 /ripd | |
parent | lib: add northbound support to distribute-list code. (diff) | |
download | frr-a993b8e9bb71407e4adb478e8a57f35fdf85febd.tar.xz frr-a993b8e9bb71407e4adb478e8a57f35fdf85febd.zip |
lib: enable multiple instance support with distribute lists
Signed-off-by: Christian Hopps <chopps@labn.net>
Diffstat (limited to 'ripd')
-rw-r--r-- | ripd/rip_cli.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ripd/rip_cli.c b/ripd/rip_cli.c index d545e692c..a4d306a4d 100644 --- a/ripd/rip_cli.c +++ b/ripd/rip_cli.c @@ -1144,7 +1144,7 @@ DEFUN (rip_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); } @@ -1165,7 +1165,7 @@ DEFUN (rip_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); } |