realtek: rtl931x: fix IPv4 unknown-mc portmask debug output
authorLinus Lüssing <linus.luessing@c0d3.blue>
Fri, 30 Jan 2026 21:49:12 +0000 (22:49 +0100)
committerRobert Marko <robimarko@gmail.com>
Sun, 1 Feb 2026 16:32:29 +0000 (17:32 +0100)
commit71da3a9f48e73153320eb46281c8fbf07a535418
treea47870a43a4f42aa8c5a4feae4822fc64af57d30
parent66880d12c36b7b8f3f3407bbd120d82bc3ec4ea0
realtek: rtl931x: fix IPv4 unknown-mc portmask debug output

For the IPv4 unknown multicast flood portmask the first byte should be
for the higher port numbers and the following byte for the lower port
numbers, just like for the L2 unknown multicast flood portmask or the
IPv6 unknown multicast flood portmasks, too. Not the other way around.

Fix the debug output here by adjusting the offsets accordingly.

Fixes: 27029277f98d ("realtek: add switch driver support for the RTL93XX based switches")
Signed-off-by: Linus Lüssing <linus.luessing@c0d3.blue>
Link: https://github.com/openwrt/openwrt/pull/21786
Signed-off-by: Robert Marko <robimarko@gmail.com>
target/linux/realtek/files-6.12/drivers/net/dsa/rtl83xx/rtl931x.c