netlink: rework handling of netlink messages
authorHans Dedecker <dedeckeh@gmail.com>
Thu, 7 Feb 2019 12:18:40 +0000 (13:18 +0100)
committerHans Dedecker <dedeckeh@gmail.com>
Thu, 7 Feb 2019 16:39:46 +0000 (17:39 +0100)
commita54cee0d033ada75724b18a9350103a02e0ba956
tree6d27339b2653e3cbb7e312cf05b3410a1efb5400
parent9f25dd8af76dc30e54ddcbb4a284058e598951d5
netlink: rework handling of netlink messages

Multiple logical OpenWrt interfaces can be stacked on top of the same
Linux device. As such netlink events for addresses/routes/ifindex changes
need to be propagated to the different logical OpenWrt interfaces
which use the Linux device as reported in the netlink message.

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
src/netlink.c
src/odhcpd.c
src/odhcpd.h