]> git.ipfire.org Git - thirdparty/lldpd.git/commit
tests: correctly encode civic address for SNMP tests
authorVincent Bernat <vincent@bernat.im>
Fri, 18 Mar 2016 11:04:41 +0000 (12:04 +0100)
committerVincent Bernat <vincent@bernat.im>
Fri, 18 Mar 2016 18:34:54 +0000 (19:34 +0100)
commit2d05a444ddb7af95dffa897507b6d33ef9c0dcab
treee82763b7ae7016aae255e2e39d10c04d5978e918
parentb55bba2fc1853d56c2b2bccef00c0237d22e1b3a
tests: correctly encode civic address for SNMP tests

For some reason "\x02F" was interpreted as "\x2f", not as "\x02"
"F". Use separate strings to ensure correctness.
tests/check_snmp.c