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

rS FreeBSD src repository - subversion
Lint OK
No Unit Test Coverage
Build Status
Buildable 36979
Build 33868: arc lint + arc unit

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.