diff options
author | 2014-04-18 16:33:21 +0000 | |
---|---|---|
committer | 2014-04-18 16:33:21 +0000 | |
commit | 73b10e16589a7bf83eba329c2444b017d7f50992 (patch) | |
tree | 039438ee6650ea164e9c4ea8ad5fb1aa388d2426 | |
parent | We do have SO_SNDBUF and IP_HDRINCL. (diff) | |
download | wireguard-openbsd-73b10e16589a7bf83eba329c2444b017d7f50992.tar.xz wireguard-openbsd-73b10e16589a7bf83eba329c2444b017d7f50992.zip |
We do have SO_SNDBUF.
OK benno@
-rw-r--r-- | usr.sbin/traceroute6/traceroute6.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.sbin/traceroute6/traceroute6.c b/usr.sbin/traceroute6/traceroute6.c index 984010ad6a6..1e4de426ab9 100644 --- a/usr.sbin/traceroute6/traceroute6.c +++ b/usr.sbin/traceroute6/traceroute6.c @@ -1,4 +1,4 @@ -/* $OpenBSD: traceroute6.c,v 1.78 2014/04/18 16:30:00 florian Exp $ */ +/* $OpenBSD: traceroute6.c,v 1.79 2014/04/18 16:33:21 florian Exp $ */ /* $KAME: traceroute6.c,v 1.63 2002/10/24 12:53:25 itojun Exp $ */ /* @@ -592,11 +592,9 @@ main(int argc, char *argv[]) &rtableid, sizeof(rtableid)) == -1) err(1, "setsockopt SO_RTABLE"); } -#ifdef SO_SNDBUF if (setsockopt(sndsock, SOL_SOCKET, SO_SNDBUF, (char *)&datalen, sizeof(datalen)) < 0) err(6, "SO_SNDBUF"); -#endif /* SO_SNDBUF */ if (options & SO_DEBUG) (void) setsockopt(sndsock, SOL_SOCKET, SO_DEBUG, (char *)&on, sizeof(on)); |