aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/rtsold
diff options
context:
space:
mode:
authorEd Schouten <ed@FreeBSD.org>2015-08-10 07:45:13 +0000
committerEd Schouten <ed@FreeBSD.org>2015-08-10 07:45:13 +0000
commita1b862daec160f8d3460709746b38301ce04bfb8 (patch)
treefdac5fbf52a5c84cae470f7850ff865e7cc1f869 /usr.sbin/rtsold
parentd237165a09e562b806e0d1d4b8281b8f11c52bfe (diff)
Notes
Diffstat (limited to 'usr.sbin/rtsold')
-rw-r--r--usr.sbin/rtsold/probe.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/usr.sbin/rtsold/probe.c b/usr.sbin/rtsold/probe.c
index 89a1617a75df..3aa5303a6603 100644
--- a/usr.sbin/rtsold/probe.c
+++ b/usr.sbin/rtsold/probe.c
@@ -80,12 +80,6 @@ probe_init(void)
return (-1);
}
- /* make the socket send-only */
- if (shutdown(probesock, 0)) {
- warnmsg(LOG_ERR, __func__, "shutdown: %s", strerror(errno));
- return (-1);
- }
-
/* initialize msghdr for sending packets */
sndmhdr.msg_namelen = sizeof(struct sockaddr_in6);
sndmhdr.msg_iov = sndiov;