diff --git a/config/action.d/osx-ipfw.conf b/config/action.d/osx-ipfw.conf index b7f2f376..416344a7 100644 --- a/config/action.d/osx-ipfw.conf +++ b/config/action.d/osx-ipfw.conf @@ -79,6 +79,9 @@ blocktype = unreach port setnum = 10 # Option: number for ipfw rule -# Notes: This is ment to be automaticly generated and not overwritten +# Notes: This is meant to be automaticly generated and not overwritten # Values: Random value between 10000 and 12000 -rulenum = "`a=$((RANDOM%%2000+10000)); while ipfw show | grep -q ^$a\ ; do a=$((RANDOM%%2000+10000)); done; echo $a`" +rulenum="`echo $((RANDOM%%2000+10000))`" + +# Duplicate prevention mechanism +#rulenum = "`a=$((RANDOM%%2000+10000)); while ipfw show | grep -q ^$a\ ; do a=$((RANDOM%%2000+10000)); done; echo $a`"