mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-01-28 03:37:17 +01:00
realtek: rtl93xx: Trap LLDP management frames
Some checks are pending
Build Kernel / Build all affected Kernels (push) Waiting to run
Some checks are pending
Build Kernel / Build all affected Kernels (push) Waiting to run
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
1 changed files with 2 additions and 0 deletions
|
|
@ -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…
Add table
Reference in a new issue