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 9a5e671..386b047 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() {