diff options
author | Felix Fietkau <nbd@nbd.name> | 2021-08-22 08:00:18 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2021-08-24 12:58:57 +0200 |
commit | 6519cf31e4b033fd4a03c031ad882166be84fa6d (patch) | |
tree | 78f2fa0ef9bb0f59994b5c404edf76026fbbdba2 /system-dummy.c | |
parent | ed84473b7af96f4fc4d161bf60eeaa51bed7077b (diff) | |
download | netifd-6519cf31e4b033fd4a03c031ad882166be84fa6d.tar.gz |
bridge: add support for an external STP daemon
netifd notifies the stp daemon through the network.device object and sends
STP related configuration parameters. The daemon can also trigger a STP
restart in order to close the race on init
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'system-dummy.c')
-rw-r--r-- | system-dummy.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/system-dummy.c b/system-dummy.c index ab178f3..7eb4e08 100644 --- a/system-dummy.c +++ b/system-dummy.c @@ -66,6 +66,10 @@ int system_bridge_vlan(const char *iface, uint16_t vid, bool add, unsigned int v return 0; } +void system_bridge_set_stp_state(struct device *dev, bool val) +{ +} + int system_bridge_vlan_check(struct device *dev, char *ifname) { return 0; |