diff options
author | Lennart Poettering <lennart@poettering.net> | 2016-01-20 21:22:26 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2016-01-25 15:59:40 +0100 |
commit | 6955a3ba9dc5d36487724878333a5745987e6656 (patch) | |
tree | 4cd271b1530c147fb8e2888d8420dca137ea9516 /src/resolve/resolved-link.h | |
parent | 55abd6dadd50e2d7d0e5fcc5bb49c21c52226d1b (diff) |
resolved: when checking whether a link is relevant, check kernel operstate
This mimics what networkd is doing to detect a carrier.
Diffstat (limited to 'src/resolve/resolved-link.h')
-rw-r--r-- | src/resolve/resolved-link.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/resolve/resolved-link.h b/src/resolve/resolved-link.h index 6544214b77..3b6aafb8f0 100644 --- a/src/resolve/resolved-link.h +++ b/src/resolve/resolved-link.h @@ -82,6 +82,7 @@ struct Link { char name[IF_NAMESIZE]; uint32_t mtu; + uint8_t operstate; }; int link_new(Manager *m, Link **ret, int ifindex); |