Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F145456462
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
Sat, Feb 21, 3:48 AM (54 m, 54 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28908254
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