]> git.ipfire.org Git - thirdparty/systemd.git/commit
networkd: network_get - allow udev_device to be NULL
authorTom Gundersen <teg@jklm.no>
Mon, 11 May 2015 22:22:29 +0000 (00:22 +0200)
committerTom Gundersen <teg@jklm.no>
Mon, 11 May 2015 22:43:45 +0000 (00:43 +0200)
commit24c083dfcbff3d1dd86a22cba7555a9ae6d8a53d
treef4e30951822d9ae9d9c6e00a02ed152ebb98ed90
parente4f66b7773ae21278bf6b9c02a3282eec5996266
networkd: network_get - allow udev_device to be NULL

In containers we never have udev devices, so drop the assert.

This fixes an assertion introduced in af3aa302741b6edb0729925febb5f8bc26721fe3.
TODO
src/network/networkd-network.c