luci/protocols
Jo-Philipp Wich 680a6d2ad3 luci-proto-relay: propagate up state, do not forward netifd errors
Due to historical reasons, the relayd daemon configuration resides in the
form of a fake "config interface" section in /etc/config/network without
actually registering a protocol handler.

This causes netifd to emit an "INVALID_PROTO" error for the interface
which is technically correct, but confusing for LuCI users.

This situation needs to be resolved upstream by either moving relayd
configuration out of the network config, or by converting the relayd
service into a proper protocol handler.

Until this happens, do not report any netifd errors since we're not
operating on an actual interface.

While we're at it, also propagate the protocol up state from the fake
virtual device to ensure that LuCI displays the relay bridge as "up"
when all relayed interfaces are up as well.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit aae187dedf)
2018-07-28 17:14:22 +02:00
..
luci-proto-3g luci-proto-3g: make it a self-contained package 2018-05-28 22:28:30 +08:00
luci-proto-ipip protocols: fix various interface patterns 2017-11-10 14:20:53 +01:00
luci-proto-ipv6 luco-proto-ipv6: allow multiple prefixes for 6in4 and dhcpv6 2018-07-17 16:20:15 +02:00
luci-proto-ncm luci-proto-ncm: remove unrelated options 2018-07-26 20:26:54 +02:00
luci-proto-openconnect protocols: fix various interface patterns 2017-11-10 14:20:53 +01:00
luci-proto-ppp luci-proto-ppp: expose pppoe host_uniq tag setting 2018-07-09 17:53:08 +02:00
luci-proto-qmi luci-proto-qmi: register further network error codes 2018-07-12 18:10:59 +02:00
luci-proto-relay luci-proto-relay: propagate up state, do not forward netifd errors 2018-07-28 17:14:22 +02:00
luci-proto-vpnc protocols: fix various interface patterns 2017-11-10 14:20:53 +01:00
luci-proto-wireguard Add description 2018-07-08 19:46:10 +02:00