diff options
author | 1998-06-27 02:31:58 +0000 | |
---|---|---|
committer | 1998-06-27 02:31:58 +0000 | |
commit | 837e03d9ec752c01de46e8ec461440571219fc16 (patch) | |
tree | 41ab4350caf32e6b1ef6671e2adec95d782a47d5 /sys/netinet/tcp_usrreq.c | |
parent | Disallow TCP connect() to multicast addresses; cmetz@inner.net (diff) | |
download | wireguard-openbsd-837e03d9ec752c01de46e8ec461440571219fc16.tar.xz wireguard-openbsd-837e03d9ec752c01de46e8ec461440571219fc16.zip |
indent
Diffstat (limited to 'sys/netinet/tcp_usrreq.c')
-rw-r--r-- | sys/netinet/tcp_usrreq.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/netinet/tcp_usrreq.c b/sys/netinet/tcp_usrreq.c index 2abcefd468b..6bd92c73008 100644 --- a/sys/netinet/tcp_usrreq.c +++ b/sys/netinet/tcp_usrreq.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tcp_usrreq.c,v 1.26 1998/06/27 02:09:46 angelos Exp $ */ +/* $OpenBSD: tcp_usrreq.c,v 1.27 1998/06/27 02:31:58 deraadt Exp $ */ /* $NetBSD: tcp_usrreq.c,v 1.20 1996/02/13 23:44:16 christos Exp $ */ /* @@ -199,8 +199,7 @@ tcp_usrreq(so, req, m, nam, control) sin = mtod(nam, struct sockaddr_in *); /* Disallow connects to a multicast address */ - if (IN_MULTICAST(sin->sin_addr.s_addr)) - { + if (IN_MULTICAST(sin->sin_addr.s_addr)) { error = EINVAL; break; } |