Page MenuHomeVyOS Platform

`Show ip multicast mfc/interface` prints adresses the wrong way around
Closed, ResolvedPublicBUG

Description

show ip multicast mfc and show ip multicast interface prints adresses the wrong way around starting with the last ipv4 niblet.
se the following "screenshot"

vyos@runar-gw# run show ip multicast mfc
Group           Origin           In     Out           Pkts         Bytes  Wrong
124.54.0.224    26.xxx.214.xx    --
250.255.255.239 8.0.20.10        --
250.255.255.239 71.145.xx.xxx    --

vyos@runar-gw# run show ip multicast interfaces
Intf        BytesIn        PktsIn      BytesOut       PktsOut            Local
eth0          0.00b             0         0.00b             0    65.145.xxx.xxx
eth1          0.00b             0         0.00b             0   201.78.xxx.xxx
eth0.3         0.00b             0         0.00b             0      7.0.168.192
tun1          0.00b             0         0.00b             0    2.200.168.192
tun0          0.00b             0         0.00b             0    51.160.xxx.xxx
tun10         0.00b             0         0.00b             0     2.200.16.172
tun123         0.00b             0         0.00b             0     2.255.255.10
wg0           0.00b             0         0.00b             0        1.3.20.10

This fault is both on the Multicast group and Origin field in ... mfc and in the Local field of ... interface
i have annonymized the public addresses int the example above but all private adresses are readable

Details

Difficulty level
Unknown (require assessment)
Version
1.2.0-rc5
Why the issue appeared?
Will be filled on close

Event Timeline

c-po added a subscriber: c-po.

IGMP proxy was imported from Ubiquity Edgerouter running MIPS big-endian CPU. Linux Kernel BAI is also big endian (network byteorder) and the scripts did not take this into account. It will be fixed during T959

I see T959 is targeted for 1.3 release and is hereby requesting a backport of these commands from T959 into 1.2 before LTS is released (if there isn't any dependencies between the show commands and the rewrite of conf mode scripts)

c-po claimed this task.