Tommy Beadle wrote: > I would like to propose the attached patch to the Python bindings. This is a > patch to version 5.4.2.1. Currently, including null-bytes in octet strings > doesn't work because it's just treating the strings from Python as > null-terminated strings instead of getting their actual length. I discovered > this while attempting to set CISCO-VTP-MIB::vlanTrunkPortVlansEnabled*, which > is basically a bit-string and will often contain null-bytes. > > As I'm new to contributing code to Net-SNMP, please let me know if I need to > do anything different to get this included in the codebase.
Thanks for the patch! Please submit it to http://www.net-snmp.org/patches so it won't get lost. Cheers, Thomas ------------------------------------------------------------------------------ SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW http://p.sf.net/sfu/solaris-dev2dev _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
