diff --git a/includes/functions.php b/includes/functions.php index e69bb5e75..87ab2ad7f 100755 --- a/includes/functions.php +++ b/includes/functions.php @@ -570,7 +570,7 @@ function snmp2ipv6($ipv6_snmp) function ipv62snmp($ipv6) { $ipv6_ex = explode(':',Net_IPv6::uncompress($ipv6)); - for ($i = 0;$i < 8;$i++) { $ipv6_ex[$i] = zeropad_lineno($ipv6_ex[$i],4); } + for ($i = 0;$i < 8;$i++) { $ipv6_ex[$i] = zeropad($ipv6_ex[$i],4); } $ipv6_ip = implode('',$ipv6_ex); for ($i = 0;$i < 32;$i+=2) $ipv6_split[] = hexdec(substr($ipv6_ip,$i,2));