
thi is the diff with -6 rev:
Index: includes/polling/ports.inc.php =================================================================== --- includes/polling/ports.inc.php (revisione 2840) +++ includes/polling/ports.inc.php (copia locale) @@ -182,14 +177,7 @@ if (strpos($this_port['ifPhysAddress'], ":")) { list($a_a, $a_b, $a_c, $a_d, $a_e, $a_f) = explode(":", $this_port['ifPhysAddress']); - $ah_a = zeropad($a_a); - $ah_b = zeropad($a_b); - $ah_c = zeropad($a_c); - $ah_d = zeropad($a_d); - $ah_e = zeropad($a_e); - $ah_f = zeropad($a_f); - #$this_port['ifPhysAddress'] = $ah_a.":".$ah_b.":".$ah_c.":".$ah_d.":".$ah_e.":".$ah_f; - $this_port['ifPhysAddress'] = $ah_a.$ah_b.$ah_c.$ah_d.$ah_e.$ah_f; + $this_port['ifPhysAddress'] = zeropad($ah_a).zeropad($ah_b).zeropad($ah_c).zeropad($ah_d).zeropad($ah_e).zeropad($ah_f); }
"zeropad($ah_N)" in last +line should be without "h": $ah_N are absent variables! ;)
++++ $this_port['ifPhysAddress'] = zeropad($a_a).zeropad($a_b).zeropad($a_c).zeropad($a_d).zeropad($a_e).zeropad($a_f);
dario -- http://www.playnet.it phone +39 055 3226622 - fax +39 055 3226444 Brain Technology s.p.a. - AS 13284