Page MenuHomeFreeBSD

ifconfig-wg fix incorrect allowed-ips netmask info

Authored by on Feb 13 2021, 11:39 PM.



Currently when peer information being dumped via ifconfig wgN peer ..
or ifconfig wgN peer-list, whichever the netmask of the first allowed-ips
will be used as the netmask of all CIDR in allowed-ips. For example, if the
list is,, it will display as, While this does not affects the actual functionality,
it creates massive confusion for users.

Diff Detail

R10 FreeBSD src repository
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

This revision is now accepted and ready to land.Feb 14 2021, 8:34 AM
This revision was automatically updated to reflect the committed changes.