Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F153476467
D30208.id89009.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
362 B
Referenced Files
None
Subscribers
None
D30208.id89009.diff
View Options
diff --git a/sbin/ipfw/ipfw2.c b/sbin/ipfw/ipfw2.c
--- a/sbin/ipfw/ipfw2.c
+++ b/sbin/ipfw/ipfw2.c
@@ -4021,7 +4021,8 @@
NEED1("missing forward address[:port]");
- if (strncmp(*av, "tablearg", 8) == 0)
+ if (strncmp(*av, "tablearg", 8) == 0 &&
+ ((*av)[8] == '\0' || (*av)[8] == ',' || (*av)[8] == ':'))
memcpy(++(*av), "0.0.0.0", 7);
/*
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Apr 22, 9:22 AM (18 h, 26 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31864141
Default Alt Text
D30208.id89009.diff (362 B)
Attached To
Mode
D30208: sbin/ipfw: Allow tablearg as hostname
Attached
Detach File
Event Timeline
Log In to Comment