diff options
author | Tom Gundersen <teg@jklm.no> | 2014-04-22 19:40:05 +0200 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2014-04-22 21:06:00 +0200 |
commit | 1e9be60bbabe179f5233217384f1daec757c17c7 (patch) | |
tree | fb060de5b0928cda52faaac0fde41d648e3f5ca7 /src/network/networkd.h | |
parent | 45ad2c132827b0ab5854ec52068659f246c59cf8 (diff) |
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.
Diffstat (limited to 'src/network/networkd.h')
-rw-r--r-- | src/network/networkd.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/network/networkd.h b/src/network/networkd.h index f481ddec5c..d31844aefd 100644 --- a/src/network/networkd.h +++ b/src/network/networkd.h @@ -206,6 +206,7 @@ struct Link { struct udev_device *udev_device; unsigned flags; + uint8_t operstate; Network *network; |