networkd: link - support IFLA_OPERSTATE

System Internals / systemd - Tom Gundersen [jklm.no] - 22 April 2014 14:06 UTC

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.

1e9be60 networkd: link - support IFLA_OPERSTATE
src/network/networkd-link.c | 108 ++++++++++++++++++++-----------------------
src/network/networkd.h | 1 +
2 files changed, 51 insertions(+), 58 deletions(-)

Upstream: github.com


  • Share