Merge pull request #584 from bloqaudio/fix/mirror-status

mirror: show the configured monitor port in "mirror status"
This commit is contained in:
feelfree69 authored and GitHub committed 2026-10-24 19:54:44 +02:00
commit 50fda40fd9
1 file changed
+1 -1
+1 -1
View File
@@ -849,7 +849,7 @@ void parse_mirror(void)
print_string("NOT Enabled: ");
}
print_string("Mirroring port: ");
print_phys_port(mirroring_port);
print_phys_port(mPort >> 1);
reg_read_m(RTL837x_MIRROR_CONF);
uint16_t m = sfr_data[0];
m = (m << 8) | sfr_data[1];