diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2019-06-15 13:48:18 -0400 | 
|---|---|---|
| committer | Rafael Zalamena <rzalamena@opensourcerouting.org> | 2019-08-06 22:41:05 -0300 | 
| commit | e944996140173700f73281cf7efc444377eec331 (patch) | |
| tree | e6cebd6e8c5a1979e5d22be74256120bb71d94ce /eigrpd/eigrp_interface.c | |
| parent | 128ed7604d0d90de1e49a847cc4aa4f585b2b7c5 (diff) | |
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 c52a98ee25..8b2bd9dc40 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);  | 
