summaryrefslogtreecommitdiff
path: root/sys/altq
diff options
context:
space:
mode:
authorKenjiro Cho <kjc@cvs.openbsd.org>2001-09-07 08:47:24 +0000
committerKenjiro Cho <kjc@cvs.openbsd.org>2001-09-07 08:47:24 +0000
commit1208215eeee853148c2b850390a237403f9adb90 (patch)
tree3a93d74d51ee4559428505216b3d0a82a255546f /sys/altq
parent1420b68f760039da36d3003b7fbecae6a557bdab (diff)
fix IPv4 fragment handling in the classifier.
report and fix by "Paul Koster" <list@kosteronline.net>
Diffstat (limited to 'sys/altq')
-rw-r--r--sys/altq/altq_subr.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/altq/altq_subr.c b/sys/altq/altq_subr.c
index c1149a3e65a..8db65ff6c69 100644
--- a/sys/altq/altq_subr.c
+++ b/sys/altq/altq_subr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: altq_subr.c,v 1.2 2001/08/09 14:32:59 deraadt Exp $ */
+/* $OpenBSD: altq_subr.c,v 1.3 2001/09/07 08:47:23 kjc Exp $ */
/* $KAME: altq_subr.c,v 1.8 2000/12/14 08:12:46 thorpej Exp $ */
/*
@@ -1253,6 +1253,9 @@ ip4f_cache(ip, fin)
fp = ip4f_alloc();
fp->ip4f_id = ip->ip_id;
+ fp->ip4f_info.fi_proto = ip->ip_p;
+ fp->ip4f_info.fi_src.s_addr = ip->ip_src.s_addr;
+ fp->ip4f_info.fi_dst.s_addr = ip->ip_dst.s_addr;
/* save port numbers */
fp->ip4f_info.fi_sport = fin->fi_sport;