]> git.ipfire.org Git - thirdparty/lldpd.git/commit
interfaces: compute interface index for fixed management address
authorVincent Bernat <vincent@bernat.ch>
Sat, 27 Jul 2019 15:28:01 +0000 (17:28 +0200)
committerVincent Bernat <vincent@bernat.ch>
Sat, 27 Jul 2019 15:34:16 +0000 (17:34 +0200)
commitb7b7dc349aa42de0840b770298dd2e7c404fd819
tree61ff5e45bb60124e8a2f6ad440a8bcd95ddc8a9b
parentd319b0deaccf69550da9e941d753c60de7281d8d
interfaces: compute interface index for fixed management address

When management address is provided without a pattern, fetch the
appropriate interface index if the interface is known. Thanks to
@kefins for the actual patch.

Fix #338.
src/daemon/interfaces.c
tests/integration/test_basic.py