]> git.ipfire.org Git - thirdparty/lldpd.git/commit
lldp: do not send system description TLV if empty
authorVincent Bernat <bernat@luffy.cx>
Thu, 5 Dec 2013 20:37:04 +0000 (21:37 +0100)
committerVincent Bernat <bernat@luffy.cx>
Thu, 5 Dec 2013 20:37:04 +0000 (21:37 +0100)
commitd798504262549e68c9a1801687bbcef907b21699
tree93f9039877c9975beb4a20baff026bd88f3d4234
parent493b0d427fb437cf7949c8be89ae9d636d5c270f
lldp: do not send system description TLV if empty

This makes this TLV optional to send (as authorized in 802.1AB). The
user just has to provide an empty TLV, with, for example `-S ""`.
src/daemon/lldp.c