diff --git a/miniupnpd/testupnppermissions.sh b/miniupnpd/testupnppermissions.sh index 427b752..cd98ae9 100755 --- a/miniupnpd/testupnppermissions.sh +++ b/miniupnpd/testupnppermissions.sh @@ -1,6 +1,9 @@ -#!/bin/sh +#!/bin/bash # $Id: $ +# Array are not available with POSIX sh +# bash / ksh + RULE[1]="allow 1-20000 11.12.13.14/22 1234" RULEA[1]="allow 1-20000 0b0c0d0e/fffffc00 1234-1234" RULEB[1]="allow 1-20000 11.12.13.14/255.255.252.0 1234-1234"