Forgot to update one field name in one of the latest commits.

This commit is contained in:
Luigi Rizzo 2002-07-08 22:37:55 +00:00
parent b7c5c8fb06
commit 5185195169

View File

@ -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 ;
}
}