Page MenuHomeFreeBSD

D27657.id80896.diff
No OneTemporary

D27657.id80896.diff

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

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)

Event Timeline