diff --git a/Shorewall/compiler b/Shorewall/compiler index 86edf56e8..6c7e54111 100755 --- a/Shorewall/compiler +++ b/Shorewall/compiler @@ -1298,7 +1298,7 @@ __EOF__ { local p n - for p in $PROVIDERS; do + for p in $PROVIDERS main; do [ "$p" = "$1" ] && return 0 eval n=\$${p}_number} [ "$n" = "$1" ] && return 0 @@ -1397,6 +1397,8 @@ __EOF__ if [ -f $f ]; then strip_file route_rules $f + main_number=254 + if [ -s $TMP_DIR/route_rules ]; then progress_message2 "$DOING $f..."