From: Alan T. DeKok Date: Mon, 18 May 2009 11:12:30 +0000 (+0200) Subject: Fix '==' X-Git-Tag: release_2_1_7~146 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bf03114d13f1fff63ba5ace8a1b339908593b3b5;p=thirdparty%2Ffreeradius-server.git Fix '==' --- diff --git a/scripts/raddebug b/scripts/raddebug index b067366a38f..fb900133217 100755 --- a/scripts/raddebug +++ b/scripts/raddebug @@ -15,7 +15,7 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA # -# Copyright (C) 2009 Alan DeKok +# Copyright (C) 2009 Network RADIUS SARL # ###################################################################### # @@ -41,14 +41,14 @@ do case $OPTION in c) condition="$OPTARG" ;; - d) [ "$extra" == "" ] || usage + d) [ "$extra" = "" ] || usage extra="-d $OPTARG" ;; i) condition="(Packet-Src-IP-Address == $OPTARG)" ;; I) condition="(Packet-Src-IPv6-Address == $OPTARG)" ;; - f) [ "$extra" == "" ] || usage + f) [ "$extra" = "" ] || usage extra="-f $OPTARG" ;; t) timeout="$OPTARG"