diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2019-06-15 19:48:18 +0200 |
---|---|---|
committer | Rafael Zalamena <rzalamena@opensourcerouting.org> | 2019-08-07 03:41:05 +0200 |
commit | e944996140173700f73281cf7efc444377eec331 (patch) | |
tree | e6cebd6e8c5a1979e5d22be74256120bb71d94ce /eigrpd/eigrp_interface.c | |
parent | eigrpd: Create a socket per vrf for communication (diff) | |
download | frr-e944996140173700f73281cf7efc444377eec331.tar.xz frr-e944996140173700f73281cf7efc444377eec331.zip |
eigrpd: Add `router eigrp AS [vrf NAME]` and various stuff
Add the ability to parse `router eigrp AS [vrf NAME]` and
modify eigrp_lookup to actually handle a vrf_id for us.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'eigrpd/eigrp_interface.c')
-rw-r--r-- | eigrpd/eigrp_interface.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/eigrpd/eigrp_interface.c b/eigrpd/eigrp_interface.c index c52a98ee2..8b2bd9dc4 100644 --- a/eigrpd/eigrp_interface.c +++ b/eigrpd/eigrp_interface.c @@ -329,10 +329,7 @@ void eigrp_if_free(struct eigrp_interface *ei, int source) { struct prefix dest_addr; struct eigrp_prefix_entry *pe; - struct eigrp *eigrp = eigrp_lookup(); - - if (!eigrp) - return; + struct eigrp *eigrp = ei->eigrp; if (source == INTERFACE_DOWN_BY_VTY) { THREAD_OFF(ei->t_hello); |