Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F137748806
D37375.id113040.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
635 B
Referenced Files
None
Subscribers
None
D37375.id113040.diff
View Options
diff --git a/sys/netpfil/ipfw/ip_fw_pfil.c b/sys/netpfil/ipfw/ip_fw_pfil.c
--- a/sys/netpfil/ipfw/ip_fw_pfil.c
+++ b/sys/netpfil/ipfw/ip_fw_pfil.c
@@ -139,7 +139,7 @@
args.rule = *((struct ipfw_rule_ref *)(tag+1));
m_tag_delete(*m0, tag);
if (args.rule.info & IPFW_ONEPASS)
- return (0);
+ return (PFIL_PASS);
args.flags |= IPFW_ARGS_REF;
}
@@ -213,7 +213,7 @@
if ((args.flags & IPFW_ARGS_NH6) == 0)
bcopy(psa, tag + 1, len);
m_tag_prepend(*m0, tag);
- ret = 0;
+ ret = PFIL_PASS;
#ifdef INET6
/* IPv6 next hop needs additional handling */
if (args.flags & (IPFW_ARGS_NH6 | IPFW_ARGS_NH6PTR)) {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Nov 26, 11:18 AM (14 h, 48 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
26210807
Default Alt Text
D37375.id113040.diff (635 B)
Attached To
Mode
D37375: ipfw: Spell PFIL_PASS correctly.
Attached
Detach File
Event Timeline
Log In to Comment