diff options
author | 2011-01-06 14:45:07 +0000 | |
---|---|---|
committer | 2011-01-06 14:45:07 +0000 | |
commit | 9ed804f6b65cbaf22856a000c63a2d42efbb42c8 (patch) | |
tree | a6942d2d33783735d03ea125c61cac59fa72bbd2 | |
parent | Put htons() around ip_randomid() for pf scrub random-id to make it (diff) | |
download | wireguard-openbsd-9ed804f6b65cbaf22856a000c63a2d42efbb42c8.tar.xz wireguard-openbsd-9ed804f6b65cbaf22856a000c63a2d42efbb42c8.zip |
Minor style nit
-rw-r--r-- | sys/net/rtsock.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/net/rtsock.c b/sys/net/rtsock.c index faf7ec51d01..f42e786297b 100644 --- a/sys/net/rtsock.c +++ b/sys/net/rtsock.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rtsock.c,v 1.111 2010/10/28 17:18:35 claudio Exp $ */ +/* $OpenBSD: rtsock.c,v 1.112 2011/01/06 14:45:07 claudio Exp $ */ /* $NetBSD: rtsock.c,v 1.18 1996/03/29 00:32:10 cgd Exp $ */ /* @@ -345,8 +345,7 @@ route_input(struct mbuf *m0, ...) continue; if (rp->rcb_proto.sp_family != proto->sp_family) continue; - if (rp->rcb_proto.sp_protocol && - proto->sp_protocol && + if (rp->rcb_proto.sp_protocol && proto->sp_protocol && rp->rcb_proto.sp_protocol != proto->sp_protocol) continue; /* |