diff options
author | paul <paul> | 2004-10-22 13:51:57 +0200 |
---|---|---|
committer | paul <paul> | 2004-10-22 13:51:57 +0200 |
commit | 23b9c61e5bb60d557b07dc1d7c4d7614f63dc009 (patch) | |
tree | 5780bf6f095f8eb65b8e698fa6193df88cdc66fd /lib/sockopt.c | |
parent | 2004-10-13 Paul Jakma <paul@dishone.st> (diff) | |
download | frr-23b9c61e5bb60d557b07dc1d7c4d7614f63dc009.tar.xz frr-23b9c61e5bb60d557b07dc1d7c4d7614f63dc009.zip |
2004-10-22 Paul Jakma <paul@dishone.st>
* sockopt.c: (setsockopt_pktinfo) unexported
* sockopt.h: Cleanup SOCKOPT_CMSG defines a bit. Add a throwaway
define for SOPT_SIZE_CMSG_IFINDEX_IPV4 for systems which have
neither IP_RECVIF nor IP_PKTINFO (eg openbsd).
Diffstat (limited to 'lib/sockopt.c')
-rw-r--r-- | lib/sockopt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sockopt.c b/lib/sockopt.c index d16c2bebf..1d4063a61 100644 --- a/lib/sockopt.c +++ b/lib/sockopt.c @@ -260,7 +260,7 @@ setsockopt_ipv4_ifindex (int sock, int val) * interface index. * Not portable for IPv4, use only setsockopt_ifindex for v4. */ -int +static int setsockopt_pktinfo (int af, int sock, int val) { int ret = -1; |