summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorsashan <sashan@cvs.openbsd.org>2015-07-18 23:11:36 +0000
committersashan <sashan@cvs.openbsd.org>2015-07-18 23:11:36 +0000
commit5386720c09a92c3ff31745c678c9fba0e83ba24a (patch)
tree05efaf59209a5e32016f47773546971432c8ab3a /sys
parentdf8a76d287c4ce94d5c65d069eed3e882c7a8788 (diff)
pf_send_tcp() should also use unhandled_af()
ok jsg@, ok mpi@
Diffstat (limited to 'sys')
-rw-r--r--sys/net/pf.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/net/pf.c b/sys/net/pf.c
index 6db3d4d9dc6..086dacd3f7b 100644
--- a/sys/net/pf.c
+++ b/sys/net/pf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pf.c,v 1.928 2015/07/18 19:19:00 sashan Exp $ */
+/* $OpenBSD: pf.c,v 1.929 2015/07/18 23:11:35 sashan Exp $ */
/*
* Copyright (c) 2001 Daniel Hartmeier
@@ -2379,6 +2379,8 @@ pf_send_tcp(const struct pf_rule *r, sa_family_t af,
th = (struct tcphdr *)((caddr_t)h6 + sizeof(struct ip6_hdr));
break;
#endif /* INET6 */
+ default:
+ unhandled_af(af);
}
/* TCP header */