Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F154121144
D27657.id80896.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
512 B
Referenced Files
None
Subscribers
None
D27657.id80896.diff
View Options
Index: head/libexec/rc/rc.d/ipfw
===================================================================
--- head/libexec/rc/rc.d/ipfw
+++ head/libexec/rc/rc.d/ipfw
@@ -129,7 +129,9 @@
status=$(sysctl -i -n net.inet.ip.fw.enable)
: ${status:=0}
if afexists inet6; then
- status=$((${status} + $(sysctl -i -n net.inet6.ip6.fw.enable)))
+ status6=$(sysctl -i -n net.inet6.ip6.fw.enable)
+ : ${status6:=0}
+ status=$((${status} + ${status6}))
fi
if [ ${status} -eq 0 ]; then
echo "ipfw is not enabled"
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Apr 27, 8:19 AM (15 h, 6 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
32218422
Default Alt Text
D27657.id80896.diff (512 B)
Attached To
Mode
D27657: ipfw: Fix the ipfw service status output when ipfw.ko isn't loaded
Attached
Detach File
Event Timeline
Log In to Comment