chiark / gitweb /
networkd: link - require both RUNNING and LOWER_UP before using link
authorTom Gundersen <teg@jklm.no>
Sat, 12 Apr 2014 10:27:22 +0000 (12:27 +0200)
committerTom Gundersen <teg@jklm.no>
Sat, 12 Apr 2014 10:48:12 +0000 (12:48 +0200)
commit7cc832b91e8f5883b505c42f9f403e03dfc83c89
tree0d354c9b44a1086c9c488edac3b9b3107904c5f7
parentffba61663aa5f11b2066928d74c09f00e60e9e20
networkd: link - require both RUNNING and LOWER_UP before using link

Usually RUNNING implies LOWER_UP, but for drivers that don't support oper state, RUNNING can
also mean that the state is unknown. In that case we should just trust LOWER_UP directly.
src/network/networkd-link.c