]> git.ipfire.org Git - thirdparty/lldpd.git/commit
tests: use memcmp to compare chassis and port ID
authorVincent Bernat <bernat@luffy.cx>
Tue, 3 Apr 2012 12:17:07 +0000 (14:17 +0200)
committerVincent Bernat <bernat@luffy.cx>
Tue, 3 Apr 2012 12:20:14 +0000 (14:20 +0200)
commit0b7e07696d49fcf5d12108483e6fd087f5d48d96
tree57c852b6b34f89f61dbfc243cd98a6b165ca0e50
parent655ec72e06b6e0fee5755753c8c23126f782552e
tests: use memcmp to compare chassis and port ID

Chassis and port ID are not null-terminated string. We cannot compare
them with strcmp.
tests/check_lldp.c