From 51851951694e634a0f72a49285f46ef8c602c00a Mon Sep 17 00:00:00 2001 From: Luigi Rizzo Date: Mon, 8 Jul 2002 22:37:55 +0000 Subject: [PATCH] Forgot to update one field name in one of the latest commits. --- sys/netinet/ip_dummynet.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/netinet/ip_dummynet.c b/sys/netinet/ip_dummynet.c index 7f8b241aa15d..5943317a5a14 100644 --- a/sys/netinet/ip_dummynet.c +++ b/sys/netinet/ip_dummynet.c @@ -1371,8 +1371,8 @@ dn_rule_delete(void *r) fs = &(p->fs) ; dn_rule_delete_fs(fs, r); for (pkt = p->head ; pkt ; pkt = DN_NEXT(pkt) ) - if (pkt->hdr.mh_data == r) - pkt->hdr.mh_data = (void *)ip_fw_default_rule ; + if (pkt->rule == r) + pkt->rule = ip_fw_default_rule ; } }