diff options
author | Florian Obser <florian@cvs.openbsd.org> | 2014-04-18 16:33:22 +0000 |
---|---|---|
committer | Florian Obser <florian@cvs.openbsd.org> | 2014-04-18 16:33:22 +0000 |
commit | d55f3d692b62a4f8a339cd4a693824fe672f2dba (patch) | |
tree | a4220f93a3f373a4f9acf2ae12a1aee98fe8f047 /usr.sbin | |
parent | df086b29d8fb97fc988d405517f110dead27dcc9 (diff) |
We do have SO_SNDBUF.
OK benno@
Diffstat (limited to 'usr.sbin')
-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)); |