summaryrefslogtreecommitdiff
path: root/src/libsystemd/sd-rtnl/sd-rtnl.c
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2014-03-24 21:50:16 +0100
committerTom Gundersen <teg@jklm.no>2014-03-24 22:09:06 +0100
commitc3ebdce39a748f738f3731730cd085ff3551b379 (patch)
tree30cb6110109acb6a765c88c406535c053e5e80ae /src/libsystemd/sd-rtnl/sd-rtnl.c
parentc4bfd1691f4d3e26d6d7f34dbca941e119956e8a (diff)
networkd: netdev - fix error handling in set_ifindex()
Firstly, remove stray assert(). Also be a bit stricter when verifying the received info. If we get an applicable newlink message that we can't make sense of, we will now enter NETDEV_FAILED, as we cannot reasonably continue without knowing the ifindex of our device.
Diffstat (limited to 'src/libsystemd/sd-rtnl/sd-rtnl.c')
0 files changed, 0 insertions, 0 deletions