mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-16 00:25:01 +00:00
2004-10-13 Paul Jakma <paul@dishone.st>
* sockopt.c: (getsockopt_ipv4_ifindex) no ifindex should be 0, not -1.
This commit is contained in:
parent
c49ad8f1b0
commit
7d9c6e5115
@ -1,3 +1,8 @@
|
|||||||
|
2004-10-13 Paul Jakma <paul@dishone.st>
|
||||||
|
|
||||||
|
* sockopt.c: (getsockopt_ipv4_ifindex) no ifindex should be 0, not
|
||||||
|
-1.
|
||||||
|
|
||||||
2004-10-19 Hasso Tepper <hasso at quagga.net>
|
2004-10-19 Hasso Tepper <hasso at quagga.net>
|
||||||
|
|
||||||
* version.h.in: Define copyright string QUAGGA_COPYRIGHT.
|
* version.h.in: Define copyright string QUAGGA_COPYRIGHT.
|
||||||
|
@ -334,9 +334,9 @@ getsockopt_ipv4_ifindex (struct msghdr *msgh)
|
|||||||
#else /* neither IP_PKTINFO nor IP_RECVIF, broken */
|
#else /* neither IP_PKTINFO nor IP_RECVIF, broken */
|
||||||
|
|
||||||
#warning "getsockopt_ipv4_pktinfo_ifindex: dont have PKTINFO or RECVIF"
|
#warning "getsockopt_ipv4_pktinfo_ifindex: dont have PKTINFO or RECVIF"
|
||||||
#warning "things will be broken on this platform!"
|
#warning "things probably will be broken on this platform!"
|
||||||
/* XXX why not -1 - this is a failure condition. */
|
/* XXX why not -1 - this is a failure condition. */
|
||||||
ifindex = -1;
|
ifindex = 0;
|
||||||
#endif /* IP_PKTINFO */
|
#endif /* IP_PKTINFO */
|
||||||
return ifindex;
|
return ifindex;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user