]> git.ipfire.org Git - thirdparty/systemd.git/commit
libudev: conserve previous behavior
authorYu Watanabe <watanabe.yu+github@gmail.com>
Sun, 11 Nov 2018 14:33:17 +0000 (23:33 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 12 Nov 2018 04:00:30 +0000 (13:00 +0900)
commit8ecbc4b880b91e997babc924fccb7cbebb8b0943
treecbc8263ce027414a2eaecd37bcc536868511c871
parent5fb0720ebbf8813696b095806581a937a345cf2c
libudev: conserve previous behavior

The commit dcfbde3a43d632ff6e286c77e1081087eca59d8e changes
sd_device_get_ifindex() returns -ENOENT instead of zero if the device
does not have ifindex.
Let's keep the original behavior of udev_device_get_ifindex().

Fixes #10699.
src/libudev/libudev-device-private.c