]> git.ipfire.org Git - thirdparty/lldpd.git/commit - NEWS
lldp: don't hard-code sysname, sysdescr and portdescr
authorVincent Bernat <bernat@luffy.cx>
Mon, 9 Dec 2013 21:42:52 +0000 (22:42 +0100)
committerVincent Bernat <bernat@luffy.cx>
Mon, 9 Dec 2013 21:42:52 +0000 (22:42 +0100)
commit12313820fafc98139d2b8cbe389862425e0a66d4
treedb9f49261c2984fa601d56fd1dce1334702643f5
parent912dfcff033ba4d1c0432796bfc2b13360c81bc4
lldp: don't hard-code sysname, sysdescr and portdescr

Instead of using "Not received" when we don't have them, just keep a
pointer to NULL. However, we need to handle that gracefully everywhere:
don't send them over SNMP, don't display them in lldpcli, be ready for
the fact that it should not be sent (even if this is not possible for
the local chassis), don't use it on places were we display the neighbor
and update tests.
NEWS
src/daemon/agent.c
src/daemon/cdp.c
src/daemon/lldp.c
src/daemon/lldpd.c
src/marshal.c
tests/check_lldp.c