rpcd-mod-luci: update filter for rpc_luci_get_network_devices
authorMarkus Stockhausen <markus.stockhausen@gmx.de>
Tue, 28 Jun 2022 08:54:48 +0000 (10:54 +0200)
committerMarkus Stockhausen <markus.stockhausen@gmx.de>
Tue, 28 Jun 2022 09:06:23 +0000 (11:06 +0200)
commit77d29c9dc0226faa9374ca25fba8dc642c99f303
tree4e443735c4b6e2916537f36995dd02232cf18c14
parentfd72e1c23ef1569fd8f8ab71bdcb4a94f802435a
rpcd-mod-luci: update filter for rpc_luci_get_network_devices

When kernel bonding module is loaded it will create a special
file /sys/class/net/bonding_masters. This is no network device.
Filter it out for getNetworkDevices() call.

Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
libs/rpcd-mod-luci/src/luci.c