I determined the problem was because not all enumerated entries were
calculating correctly. The following code works and avoids a break on a bad
size:
________
try:
Address = str(unpack('!4B',om.BAddress))
except:
log.info("DEBUGGER unpack hiccup.")
________
Converts packed binary IP's like \x00\x00\x00\x00 to (0,0,0,0).
A 'Address = Address.replace(",", ".")' returns (0.0.0.0)
-------------------- m2f --------------------
Read this topic online here:
http://forums.zenoss.com/viewtopic.php?p=37854#37854
-------------------- m2f --------------------
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users