- join '',map {to_base64 ($_)} (substr ($time,-9), $port, $ip, $rand, $$);
+ # works only with IPv4! (will be changed later...)
+ #
+ $ip = hex(join ('',map {sprintf ('%02X',$_)} split (/\./,$ip)));
+
+ join '' => map {to_base64 ($_)} ($time, $port, $ip, $rand, $$);