On Juniper routers they have vendor-specific traps for BGP and IPv6. One of the varbinds look like this:
should get translated thus:
Which is the IPv6 address of a router.
Anyone suggest any incantation to convert from the dotted-decimal to the HEX version?
[note I'm almost certain the oidValue is being truncated to 4 bytes since the trap knows this is an IP address and assumes that it's an ipv4 addresses]