diff options
author | Daniel Hartmeier <dhartmei@cvs.openbsd.org> | 2003-08-17 15:36:49 +0000 |
---|---|---|
committer | Daniel Hartmeier <dhartmei@cvs.openbsd.org> | 2003-08-17 15:36:49 +0000 |
commit | 3b9fa25bb943a122b0269dadf6399f149ec8b51d (patch) | |
tree | d82ff836fd2bf7c90c90ed9c104ec1e803562f8d /sys/net | |
parent | 60820c0548766952babe2fc2ca87618fdf141ba5 (diff) |
Missing break, change NULL -> 0 for int parameter (no functional
changes), from Andrey Matveev
Diffstat (limited to 'sys/net')
-rw-r--r-- | sys/net/pf.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/net/pf.c b/sys/net/pf.c index 3369361121c..e4701d2a819 100644 --- a/sys/net/pf.c +++ b/sys/net/pf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pf.c,v 1.383 2003/08/14 19:00:12 jason Exp $ */ +/* $OpenBSD: pf.c,v 1.384 2003/08/17 15:36:48 dhartmei Exp $ */ /* * Copyright (c) 2001 Daniel Hartmeier @@ -1217,6 +1217,7 @@ pf_send_tcp(const struct pf_rule *r, sa_family_t af, h6->ip6_hlim = IPV6_DEFHLIM; ip6_output(m, NULL, NULL, 0, NULL, NULL); + break; #endif /* INET6 */ } } @@ -4660,7 +4661,7 @@ pf_route6(struct mbuf **m, struct pf_rule *r, int dir, struct ifnet *oifp, if (mtag == NULL) goto bad; m_tag_prepend(m0, mtag); - ip6_output(m0, NULL, NULL, NULL, NULL, NULL); + ip6_output(m0, NULL, NULL, 0, NULL, NULL); return; } |