Trapping the 01:80:c2:00:00:0e prevents the switch from passing

between ports
This commit is contained in:
Rob Emery committed 2026-10-12 20:32:29 +01:00
1 parent b83b67d234
commit 265a80bb25
2 files changed
+4

No files matched your search

+3
View File
@@ -18,6 +18,7 @@
#include "rtl837x_bandwidth.h"
#include "rtl837x_lldp.h"
#include "rtl837x_storm.h"
#include "rtl837x_trap.h"
#include "sfp.h"
#include "dhcp.h"
#include "syslog.h"
@@ -2043,9 +2044,11 @@ void cmd_parser(void) __banked
if (cmd_compare(1, "on")) {
print_string("LLDP enabled\n");
lldp_enabled = 1;
trap_rma_set(RTL837X_RMA0_CONF_0E, RTL837X_RMA_ACT_TRAP);
} else {
print_string("LLDP disabled\n");
lldp_enabled = 0;
trap_rma_set(RTL837X_RMA0_CONF_0E, RTL837X_RMA_ACT_FORWARD);
}
}
else {