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 /lib/distribute.h | |
| parent | eba64f79cc9090a1a706291442dc02597e359cac (diff) | |
lib: enable multiple instance support with distribute lists
Signed-off-by: Christian Hopps <chopps@labn.net>
Diffstat (limited to 'lib/distribute.h')
| -rw-r--r-- | lib/distribute.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/distribute.h b/lib/distribute.h index 6fe890c045..a0bc348982 100644 --- a/lib/distribute.h +++ b/lib/distribute.h @@ -70,9 +70,11 @@ extern enum filter_type distribute_apply_in(struct interface *, extern enum filter_type distribute_apply_out(struct interface *, struct prefix *); -extern int distribute_list_parser(bool prefix, bool v4, const char *dir, - const char *list, const char *ifname); -extern int distribute_list_no_parser(struct vty *vty, bool prefix, bool v4, +extern int distribute_list_parser(struct distribute_ctx *ctx, bool prefix, + bool v4, const char *dir, const char *list, + const char *ifname); +extern int distribute_list_no_parser(struct distribute_ctx *ctx, + struct vty *vty, bool prefix, bool v4, const char *dir, const char *list, const char *ifname); |
