networkd: rework how carrier bindings are serialized
authorLennart Poettering <lennart@poettering.net>
Fri, 19 Feb 2016 19:43:03 +0000 (20:43 +0100)
committerLennart Poettering <lennart@poettering.net>
Sun, 21 Feb 2016 19:40:57 +0000 (20:40 +0100)
commitb295beea88a7f2c48897b2887acbe99937335c8f
tree944f3498c7e8aaa35a5010910987100033b39992
parent7cececb2ea707a6d9b063538cf986fd27edd8cd3
networkd: rework how carrier bindings are serialized

Instead of serializing the interface name, expose the interface index, since
that's the only stable identifier.
src/libsystemd/sd-network/sd-network.c
src/network/networkctl.c
src/network/networkd-link.c
src/systemd/sd-network.h