diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-08-26 15:15:58 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-08-26 15:15:58 +0200 |
commit | 71b52ef23ad7cbf5865f47a6211a77214d8fd321 (patch) | |
tree | 99f19a77b61f4e9df8540a13e8b522319194de4c /eigrpd/eigrp_routemap.h | |
parent | eigrpd: Make code a bit easier to read in eigrp_update.c (diff) | |
download | frr-71b52ef23ad7cbf5865f47a6211a77214d8fd321.tar.xz frr-71b52ef23ad7cbf5865f47a6211a77214d8fd321.zip |
eigrpd: Refactor access/prefix list applications
There was allot of code cut-n-pasting to
apply the prefix/access lists. Refactor
to simplify code.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'eigrpd/eigrp_routemap.h')
-rw-r--r-- | eigrpd/eigrp_routemap.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/eigrpd/eigrp_routemap.h b/eigrpd/eigrp_routemap.h index f378d88cd..1d37b25ef 100644 --- a/eigrpd/eigrp_routemap.h +++ b/eigrpd/eigrp_routemap.h @@ -8,6 +8,12 @@ #ifndef EIGRPD_EIGRP_ROUTEMAP_H_ #define EIGRPD_EIGRP_ROUTEMAP_H_ +#include "if_rmap.h" + +extern bool eigrp_routemap_prefix_apply(struct eigrp *eigrp, + struct eigrp_interface *ei, + int in, + struct prefix *prefix); extern void eigrp_route_map_update(const char *); extern void eigrp_route_map_init(); extern void eigrp_if_rmap_update(struct if_rmap *); |