I've been trying to figure out how to convert a packed binary string to a
string. Unfortunately I'm finding many IP SLA's report IP addresses as packed
binary strings which cannot be dumped in to regular strings.
Here is the code I've been working with:
Address = unpack('!4B',BAddress)
Unfortunately I'm receiving an assertion that the output string size is not
that of the format.
a 'calcsize('!4B')' results in 4 where a 'len(Address)' is also 4.
Any help would is greatly appreciated.
-------------------- m2f --------------------
Read this topic online here:
http://forums.zenoss.com/viewtopic.php?p=37851#37851
-------------------- m2f --------------------
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users