diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-08-26 09:15:58 -0400 | 
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-08-26 09:15:58 -0400 | 
| commit | 71b52ef23ad7cbf5865f47a6211a77214d8fd321 (patch) | |
| tree | 99f19a77b61f4e9df8540a13e8b522319194de4c /eigrpd/eigrp_packet.h | |
| parent | 3a45a729a3e4a36becc81ee87a2170c20e8c5d6c (diff) | |
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_packet.h')
| -rw-r--r-- | eigrpd/eigrp_packet.h | 4 | 
1 files changed, 4 insertions, 0 deletions
diff --git a/eigrpd/eigrp_packet.h b/eigrpd/eigrp_packet.h index e52fd268fa..a7d510218f 100644 --- a/eigrpd/eigrp_packet.h +++ b/eigrpd/eigrp_packet.h @@ -83,6 +83,10 @@ extern int eigrp_hello_timer(struct thread *);  /*   * These externs are found in eigrp_update.c   */ +extern bool eigrp_update_prefix_apply(struct eigrp *eigrp, +				      struct eigrp_interface *ei, +				      int in, +				      struct prefix *prefix);  extern void eigrp_update_send(struct eigrp_interface *);  extern void eigrp_update_receive(struct eigrp *, struct ip *,  				 struct eigrp_header *, struct stream *,  | 
