]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/commitdiff
general-functions.pl: Fix wrong perl syntax.
authorMichael Tremer <michael.tremer@ipfire.org>
Sat, 1 Mar 2014 17:23:52 +0000 (18:23 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 1 Mar 2014 17:23:52 +0000 (18:23 +0100)
config/cfgroot/general-functions.pl

index 9a5e6714d612e334c96309e9c2cfa2d994ea205b..386b0479f098174fab926e92cc547bd13267a260 100644 (file)
@@ -1039,7 +1039,7 @@ sub GetIcmpDescription ($) {
     'SKIP',
     'Photur',                          #40
     'Experimental');
-    if ($index>41) {return 'unknown'} else {return @icmp_description[$index]};
+    if ($index>41) {return 'unknown'} else {return $icmp_description[$index]};
 }
 
 sub GetCoreUpdateVersion() {