diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-09-06 20:12:46 -0400 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-10-02 19:51:49 -0400 |
| commit | 79b3087675c7c4cc6c0693ca205c02b76c45525a (patch) | |
| tree | 8983d08fd716f937cdf8533922fc6d165bc3fadc /eigrpd/eigrp_interface.c | |
| parent | 98e6d77f93985349c2cca965c6417bdef8601070 (diff) | |
eigrpd: Start fixing eigrp_interface
The EIGRP interface handling code created 2 levels
of interface information, the ei( created per *connected*
address?????) and the ifp->info pointer.
Start the combination of pushing these together and
cleaning up the weirdness that is these two data
structures.
This commit probably breaks eigrp's handling of
interfaces.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'eigrpd/eigrp_interface.c')
| -rw-r--r-- | eigrpd/eigrp_interface.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/eigrpd/eigrp_interface.c b/eigrpd/eigrp_interface.c index f2512eadad..0e0af71fb9 100644 --- a/eigrpd/eigrp_interface.c +++ b/eigrpd/eigrp_interface.c @@ -159,7 +159,7 @@ int eigrp_if_new_hook(struct interface *ifp) { int rc = 0; - ifp->info = XCALLOC(MTYPE_EIGRP_IF_INFO, sizeof(struct eigrp_if_info)); + ifp->info = XCALLOC(MTYPE_EIGRP_IF_INFO, sizeof(struct eigrp_interface)); IF_OIFS(ifp) = route_table_init(); IF_OIFS_PARAMS(ifp) = route_table_init(); |
