summaryrefslogtreecommitdiff
path: root/src/network/networkd-link.h
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2014-09-04 14:05:54 +0200
committerTom Gundersen <teg@jklm.no>2014-09-04 14:10:57 +0200
commita61bb41c29c370a7e64285525ec35baac8944149 (patch)
treebfeadf235281b7ee83c647d7c28e3843429624b4 /src/network/networkd-link.h
parent83a1ff25e5228b0a5b2cc942fd4f964d10bb73b0 (diff)
networkd: move carrier gained/lost handling from link_update_flags() to link_update()
This allows us also to simplify link_has_carrier() a bit.
Diffstat (limited to 'src/network/networkd-link.h')
-rw-r--r--src/network/networkd-link.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/networkd-link.h b/src/network/networkd-link.h
index 0f73ec7f9b..7acf404f87 100644
--- a/src/network/networkd-link.h
+++ b/src/network/networkd-link.h
@@ -113,7 +113,7 @@ int link_rtnl_process_address(sd_rtnl *rtnl, sd_rtnl_message *message, void *use
int link_save(Link *link);
-bool link_has_carrier(unsigned flags, uint8_t operstate);
+bool link_has_carrier(Link *link);
int link_set_mtu(Link *link, uint32_t mtu);
int link_set_hostname(Link *link, const char *hostname);