diff options
author | Daniel Hartmeier <dhartmei@cvs.openbsd.org> | 2001-10-13 23:07:20 +0000 |
---|---|---|
committer | Daniel Hartmeier <dhartmei@cvs.openbsd.org> | 2001-10-13 23:07:20 +0000 |
commit | eb0b66a057125505857c226a1236600593702d7b (patch) | |
tree | d0613bdcc3efd8637a6e92448b5014d2204fc302 /sys/net/pf.c | |
parent | 75cb6dc7a6d998b3a98cb8fb4ffc07db6441d275 (diff) |
Patch from Ryan McBride, fixes IPv6 return-rst problem, found by
Todd Fries. ok deraadt@
Diffstat (limited to 'sys/net/pf.c')
-rw-r--r-- | sys/net/pf.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/net/pf.c b/sys/net/pf.c index 70a630b0bc6..37ef9147741 100644 --- a/sys/net/pf.c +++ b/sys/net/pf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pf.c,v 1.161 2001/10/02 08:44:21 dhartmei Exp $ */ +/* $OpenBSD: pf.c,v 1.162 2001/10/13 23:07:19 dhartmei Exp $ */ /* * Copyright (c) 2001 Daniel Hartmeier @@ -2415,6 +2415,7 @@ pf_send_reset(int off, struct tcphdr *th, struct pf_pdesc *pd, int af) th2->th_sum = in6_cksum(m, IPPROTO_TCP, sizeof(struct ip6_hdr), sizeof(*th)); + h2_6->ip6_vfc |= IPV6_VERSION; h2_6->ip6_hlim = 128; ip6_output(m, NULL, NULL, 0, NULL, NULL); |