OPNsense Forum

English Forums => 26.1, 26,4 Series => Topic started by: VimFuego on August 24, 2026, 09:30:40 AM

Title: Dnsmasq Leases display ordering quirks
Post by: VimFuego on August 24, 2026, 09:30:40 AM
Hi everyone,

I'm running OPNsense 26.1.11_10 and Dnsmasq 2.93_1

I've been adding in a number of devices to my IPv6 pool and I've noticed something.

Quirk #1
When ordering by IP Address the IPv4 addresses display in ascending / descending order correctly.
However the IPv6 addresses do not, any address that has a hex value is treated incorrectly.

This is the order they are displayed (I have partially edited the address but the xx's were all the same numbers).

2403:xxxx:xxxx:10::20f  << wrong spot
2403:xxxx:xxxx:10::21b  << wrong spot
2403:xxxx:xxxx:10::102
2403:xxxx:xxxx:10::133
First two should be here in the order
2403:xxxx:xxxx:10::223
2403:xxxx:xxxx:10::239
2403:xxxx:xxxx:40::101
2403:xxxx:xxxx:40::125

Quirk #2
Ordering the display list by 'Lease Type' still seems to have them jumbled up as a mix of Static and Dynamic.

Not a big deal, just thought I'd see if anyone else has noticed it.

Cheers.
Title: Re: Dnsmasq Leases display ordering quirks
Post by: Greelan on August 24, 2026, 02:07:27 PM
Try

opnsense-patch -a Greelan 7a6203112f
It fixes Lease Type (and MAC Address and DUID). It should also fix IPv6 address ordering, however I don't run DHCPv6 to verify.

If you are able to verify, I can raise a PR.