mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-01-26 15:11:02 +01:00
realtek: rtl93xx: Trap LLDP management frames
LLDP packets must be transmitted on a single port and trapped on a port of a device which understands LLDP. It must not forward it to other ports to avoid confusing neighbor information on connected devices. Signed-off-by: Harshal Gohel <hg@simonwunderlich.de> Signed-off-by: Sharadanand Karanjkar <sk@simonwunderlich.de> Link: https://github.com/openwrt/openwrt/pull/19571 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
This commit is contained in:
parent
43dbc6d4d6
commit
18077d22e9
@ -529,6 +529,8 @@ static int rtl93xx_setup(struct dsa_switch *ds)
|
||||
|
||||
rtl83xx_vlan_setup(priv);
|
||||
|
||||
rtldsa_setup_lldp_traps(priv);
|
||||
|
||||
ds->configure_vlan_while_not_filtering = true;
|
||||
|
||||
priv->r->l2_learning_setup();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user