mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-15 06:43:16 +00:00
eigrpd: Remove 'struct prefix_ipv4' from eigrp_network.c
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
parent
0ffa840756
commit
a96029f824
@ -242,7 +242,7 @@ int eigrp_network_set(struct eigrp *eigrp, struct prefix *p)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
struct prefix_ipv4 *pref = prefix_ipv4_new();
|
struct prefix *pref = prefix_new();
|
||||||
PREFIX_COPY_IPV4(pref, p);
|
PREFIX_COPY_IPV4(pref, p);
|
||||||
rn->info = (void *)pref;
|
rn->info = (void *)pref;
|
||||||
|
|
||||||
@ -253,7 +253,7 @@ int eigrp_network_set(struct eigrp *eigrp, struct prefix *p)
|
|||||||
/* Get target interface. */
|
/* Get target interface. */
|
||||||
for (ALL_LIST_ELEMENTS_RO(vrf_iflist(VRF_DEFAULT), node, ifp)) {
|
for (ALL_LIST_ELEMENTS_RO(vrf_iflist(VRF_DEFAULT), node, ifp)) {
|
||||||
zlog_debug("Setting up %s", ifp->name);
|
zlog_debug("Setting up %s", ifp->name);
|
||||||
eigrp_network_run_interface(eigrp, (struct prefix *)p, ifp);
|
eigrp_network_run_interface(eigrp, p, ifp);
|
||||||
}
|
}
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user