]> git.ipfire.org Git - thirdparty/lldpd.git/commit
netlink: merge old attributes with new ones
authorVincent Bernat <vincent@bernat.im>
Thu, 4 Feb 2016 19:16:56 +0000 (20:16 +0100)
committerVincent Bernat <vincent@bernat.im>
Thu, 4 Feb 2016 19:26:18 +0000 (20:26 +0100)
commit58e30b5a3f6114007435ee305b4da1b9d413737d
tree90e7bd30876b2fddd10bfa089e9420001ed885ea
parent1884258d145e54be19e83e6d07484df0c48197fc
netlink: merge old attributes with new ones

It seems that netlink won't advertise all attributes each time. At least
type can be not advertised in a netlink message. Copy the appropriate
attributes from the old ones when they are missing and we know they
can't change or be absent.
src/daemon/netlink.c