]> git.ipfire.org Git - thirdparty/lldpd.git/commit
interfaces: fix alias handling
authorVincent Bernat <vincent@bernat.im>
Thu, 4 Feb 2016 19:25:59 +0000 (20:25 +0100)
committerVincent Bernat <vincent@bernat.im>
Thu, 4 Feb 2016 20:12:50 +0000 (21:12 +0100)
commita403df6662cd506fbf7fee8a46ebbf209142ffd7
tree0e592bb57648797b6b8a202876d2ee00fe778ac1
parent03fc915d8f964c4ec78eece0c2caed0715be115e
interfaces: fix alias handling

And try to add some simple tests for them. The manual page says that if
an alias is provided, the default is to use the alias as description and
port name as port ID. We try to respect that.

The tests are not as complete as they could be because the MSAP changes
due to the port ID change and this makes tests more complex.
NEWS
src/client/conf-lldp.c
src/daemon/interfaces.c
tests/R1.expected
tests/integration-tests.in