networkd: link - fix carrier check on new link
authorTom Gundersen <teg@jklm.no>
Tue, 17 Jun 2014 06:54:44 +0000 (08:54 +0200)
committerTom Gundersen <teg@jklm.no>
Tue, 17 Jun 2014 07:17:07 +0000 (09:17 +0200)
commitbf0308cbd5362c697fe4df82b2e8b9adc743eb6c
tree05a6e0dc89abad23c5ec874b47bdd52c89a17321
parent0bbc2c1f3b8f01eac7826dab1a3e1e073f63da8a
networkd: link - fix carrier check on new link

We were comparing against our own internal enum rather than the kernel exposed one.

Found by Thomas Ritter.
src/network/networkd-link.c