summaryrefslogtreecommitdiffstats
path: root/sys/net
diff options
context:
space:
mode:
authorflorian <florian@openbsd.org>2019-11-06 15:18:53 +0000
committerflorian <florian@openbsd.org>2019-11-06 15:18:53 +0000
commite5bfd84ced5112a850907ab8ac2c3b604312b167 (patch)
treed1a191be13d56e34112f6176bec25d4e94faadb8 /sys/net
parentMake iwn(4) flush remaining frames on the Tx aggregation queue when (diff)
downloadwireguard-openbsd-e5bfd84ced5112a850907ab8ac2c3b604312b167.tar.xz
wireguard-openbsd-e5bfd84ced5112a850907ab8ac2c3b604312b167.zip
Pull break into ifdef; noticed by bluhm who also OK'ed the previous
commit.
Diffstat (limited to 'sys/net')
-rw-r--r--sys/net/rtsock.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/rtsock.c b/sys/net/rtsock.c
index b07ebdc3e60..076834e8191 100644
--- a/sys/net/rtsock.c
+++ b/sys/net/rtsock.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rtsock.c,v 1.293 2019/11/06 14:51:22 florian Exp $ */
+/* $OpenBSD: rtsock.c,v 1.294 2019/11/06 15:18:53 florian Exp $ */
/* $NetBSD: rtsock.c,v 1.18 1996/03/29 00:32:10 cgd Exp $ */
/*
@@ -2156,8 +2156,8 @@ rtm_validate_proposal(struct rt_addrinfo *info)
if ((rtdns->sr_len - offsetof(struct sockaddr_rtdns,
sr_dns)) % sizeof(struct in6_addr) != 0)
return -1;
-#endif
break;
+#endif
default:
return -1;
}