]> git.ipfire.org Git - thirdparty/lldpd.git/commit
cdp: fix regression in CDP packet building
authorVincent Bernat <vbe@deezer.com>
Wed, 11 Dec 2013 10:55:12 +0000 (11:55 +0100)
committerVincent Bernat <vbe@deezer.com>
Wed, 11 Dec 2013 10:55:12 +0000 (11:55 +0100)
commit7ee3d13d363700877d02e581cccdb0686996341f
tree055e16efb3fde03e8fe82e0ec64bc7a3651647ba
parent12313820fafc98139d2b8cbe389862425e0a66d4
cdp: fix regression in CDP packet building

The associativity of the ternary operator was not as expected. Put a
bunch of parentheses to fix that.
src/daemon/cdp.c