n0liu 561419eb77 fix(ParseIPRange): mask host bits in Network output for CIDR ranges
The 'Parse IP range' operation echoed the raw input address on the
'Network:' line for CIDR ranges instead of the network address. For
'10.1.2.3/24' it printed 'Network: 10.1.2.3' rather than the masked
'Network: 10.1.2.0', even though the adjacent 'Range:' line and the
IP-list code path already use the masked value.

Use the masked address (ip1 = network & mask) for the IPv4 'Network:'
line and the IPv6 'Network:' and 'Shorthand:' lines, matching the
'Range:' output in the same functions.

Fixes #1950
2026-07-25 17:07:28 +08:00
..