From: florian Date: Fri, 18 Apr 2014 16:33:21 +0000 (+0000) Subject: We do have SO_SNDBUF. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=73b10e16589a7bf83eba329c2444b017d7f50992;p=openbsd We do have SO_SNDBUF. OK benno@ --- 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));