diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2019-02-11 07:16:35 -0500 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2019-02-11 07:16:35 -0500 |
| commit | b245781a6bc53a28da5a0fc3c2a7b2d8954f0b04 (patch) | |
| tree | 3967ea59f28c94c5c9eb5818c2300ed9ab8468f7 /eigrpd/eigrp_structs.h | |
| parent | 5edc2cf3eadccb4e592fa3288136165ec9246ed9 (diff) | |
eigrp: Make the eigrp_interface have a prefix instead of a *prefix
The prefix data structure was being freed yet still needed in the
future and it's a fundamental part of the eigrp_interface data
structure let's keep it there instead of having it be deleted
and then not.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'eigrpd/eigrp_structs.h')
| -rw-r--r-- | eigrpd/eigrp_structs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/eigrpd/eigrp_structs.h b/eigrpd/eigrp_structs.h index 644ab0829f..a78e5a53cf 100644 --- a/eigrpd/eigrp_structs.h +++ b/eigrpd/eigrp_structs.h @@ -180,7 +180,7 @@ struct eigrp_interface { /* EIGRP Network Type. */ uint8_t type; - struct prefix *address; /* Interface prefix */ + struct prefix address; /* Interface prefix */ /* Neighbor information. */ struct list *nbrs; /* EIGRP Neighbor List */ |
