summaryrefslogtreecommitdiff
path: root/src/network/networkd.h
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2013-11-24 23:36:58 +0100
committerTom Gundersen <teg@jklm.no>2013-11-26 01:32:25 +0100
commitc166a070553511e402de5ad216d3fb62b49bdacb (patch)
tree9aedfe31b512a6f72b4ac27124d7c8e21ed6219e /src/network/networkd.h
parent46fabae6b33386277f5ee394cf0d5382376586da (diff)
networkd: minor fixes
In particular, store the ifname, though we should only use it carefully, as it is not guaranteed to be stable. Using it for logging is fine though.
Diffstat (limited to 'src/network/networkd.h')
-rw-r--r--src/network/networkd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/network/networkd.h b/src/network/networkd.h
index 04a56ea8c8..913f17d3a0 100644
--- a/src/network/networkd.h
+++ b/src/network/networkd.h
@@ -113,6 +113,7 @@ struct Link {
Manager *manager;
uint64_t ifindex;
+ char *ifname;
struct ether_addr mac;
unsigned flags;