mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-07 01:40:16 +00:00
[zebra] IRDP should ignore non-IPv4 addresses
2007-02-26 Robert Olsson <Robert.Olsson@data.slu.se> * irdp_main.c: (irdp_send_thread) Skip non-AF_INET addresses, i.e. do not try interpret IPv6 addresses as IPv4 addresses to broadcast in IRDP announcements..
This commit is contained in:
parent
def09df7d1
commit
ff1dd550b0
@ -1,3 +1,9 @@
|
|||||||
|
2007-02-26 Robert Olsson <Robert.Olsson@data.slu.se>
|
||||||
|
|
||||||
|
* irdp_main.c: (irdp_send_thread) Skip non-AF_INET addresses,
|
||||||
|
i.e. do not try interpret IPv6 addresses as IPv4 addresses
|
||||||
|
to broadcast in IRDP announcements..
|
||||||
|
|
||||||
2006-12-13 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
|
2006-12-13 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
|
||||||
|
|
||||||
* if_ioctl_solaris.c: (if_get_addr) For IPv6, stop assuming
|
* if_ioctl_solaris.c: (if_get_addr) For IPv6, stop assuming
|
||||||
|
@ -244,6 +244,10 @@ int irdp_send_thread(struct thread *t_advert)
|
|||||||
for (ALL_LIST_ELEMENTS (ifp->connected, node, nnode, ifc))
|
for (ALL_LIST_ELEMENTS (ifp->connected, node, nnode, ifc))
|
||||||
{
|
{
|
||||||
p = ifc->address;
|
p = ifc->address;
|
||||||
|
|
||||||
|
if (p->family != AF_INET)
|
||||||
|
continue;
|
||||||
|
|
||||||
irdp_advertisement(ifp, p);
|
irdp_advertisement(ifp, p);
|
||||||
irdp->irdp_sent++;
|
irdp->irdp_sent++;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user