]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/network/networkd-link.c
networkd: link - support IFLA_OPERSTATE
authorTom Gundersen <teg@jklm.no>
Tue, 22 Apr 2014 17:40:05 +0000 (19:40 +0200)
committerTom Gundersen <teg@jklm.no>
Tue, 22 Apr 2014 19:06:00 +0000 (21:06 +0200)
commit1e9be60bbabe179f5233217384f1daec757c17c7
treefb060de5b0928cda52faaac0fde41d648e3f5ca7
parent45ad2c132827b0ab5854ec52068659f246c59cf8
networkd: link - support IFLA_OPERSTATE

This properly detects the state of the link based on both the link flags and the
operstate.

Moreover, always log state-changes even if we are not yet managing the link.
src/network/networkd-link.c
src/network/networkd.h