]> git.ipfire.org Git - thirdparty/lldpd.git/commit
lldp: ensure that boolean values are really boolean
authorVincent Bernat <bernat@luffy.cx>
Sat, 13 Aug 2011 10:47:39 +0000 (12:47 +0200)
committerVincent Bernat <bernat@luffy.cx>
Sat, 13 Aug 2011 10:47:39 +0000 (12:47 +0200)
commit0a36d97b918c3f4070a29ade25f80c87b8774cd5
tree002b596b07dc639d03e846d544af9b809a916b55
parent126286825f6e09c50239e4e9f78ab5e7ce16b2dd
lldp: ensure that boolean values are really boolean

Some of p_macphy.autoneg_*, p_power.* should be 0 or 1, even if they
are mostly used in conditions.
src/lldp.c