diff options
author | Ryan Thomas McBride <mcbride@cvs.openbsd.org> | 2005-02-22 17:28:50 +0000 |
---|---|---|
committer | Ryan Thomas McBride <mcbride@cvs.openbsd.org> | 2005-02-22 17:28:50 +0000 |
commit | 1108a7f51c653115f12fe0fed51a8351b1aee4ca (patch) | |
tree | 30f9f294a8a35c185913ac15b1b5df412968af7b /sys/netinet | |
parent | 34b61f98ece094934ab27b44f52f0919474f9c8f (diff) |
Move #ifdef INET6 outside of 'case AF_INET6:' in tcp_ident().
No functional change due to earlier check,
fix from Maxim Konovalov <maxim@macomnet.ru>
ok deraadt@ dhartmei@
Diffstat (limited to 'sys/netinet')
-rw-r--r-- | sys/netinet/tcp_usrreq.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/tcp_usrreq.c b/sys/netinet/tcp_usrreq.c index 6fe4e2814ca..c897627d691 100644 --- a/sys/netinet/tcp_usrreq.c +++ b/sys/netinet/tcp_usrreq.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tcp_usrreq.c,v 1.87 2004/10/28 19:22:52 mcbride Exp $ */ +/* $OpenBSD: tcp_usrreq.c,v 1.88 2005/02/22 17:28:49 mcbride Exp $ */ /* $NetBSD: tcp_usrreq.c,v 1.20 1996/02/13 23:44:16 christos Exp $ */ /* @@ -839,8 +839,8 @@ tcp_ident(oldp, oldlenp, newp, newlen, dodrop) s = splsoftnet(); switch (tir.faddr.ss_family) { - case AF_INET6: #ifdef INET6 + case AF_INET6: inp = in6_pcbhashlookup(&tcbtable, &f6, fin6->sin6_port, &l6, lin6->sin6_port); break; |