freebsd-skq/sbin/ifconfig
Michael Chiu be2003ccfa ifconfig: fix incorrect wg allowed-ips netmask
Currently when peer information is displayed with `ifconfig wgN peer ..`
or `ifconfig wgN peer-list`, 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 `192.168.1.0/24, 172.16.0.0/16`, it will display as
`192.168.1.0/24, 172.16.0.0/24`. While this does not affect the actual
functionality, it is very confusing.

Submitted by:   Michael Chiu <nyan -at- myuji.xyz>
Reviewed by:	grehan
Differential Revision: https://reviews.freebsd.org/D28655
MFC after:	1 day
2021-02-15 02:39:05 +00:00
..
tests
af_inet6.c
af_inet.c
af_link.c ifconfig(8): optimize -f ether:dash mode 2020-06-26 16:20:34 +00:00
af_nd6.c
carp.c
ifbridge.c libifconfig: Add function to get bridge status 2020-07-01 02:32:41 +00:00
ifclone.c Fix bug in ifconfig preventing proper VLAN creation. 2020-12-09 20:13:12 +00:00
ifconfig.8 Catch up with 6edfd179c8: mechanically rename IFCAP_NOMAP to IFCAP_MEXTPG. 2021-01-29 11:46:24 -08:00
ifconfig.c Catch up with 6edfd179c8: mechanically rename IFCAP_NOMAP to IFCAP_MEXTPG. 2021-01-29 11:46:24 -08:00
ifconfig.h Ensure consistent error messages from ifconfig(8). 2020-11-26 16:36:50 +00:00
iffib.c
ifgif.c
ifgre.c
ifgroup.c
ifieee80211.c Ensure consistent error messages from ifconfig(8). 2020-11-26 16:36:50 +00:00
ifipsec.c
iflagg.c Ensure consistent error messages from ifconfig(8). 2020-11-26 16:36:50 +00:00
ifmac.c
ifmedia.c ifconfig: properly detect invalid mediaopt keywords. 2020-11-02 21:47:34 +00:00
ifpfsync.c
ifvlan.c ifconfig: add vlanproto "qiniq" as an alias for "802.1ad" 2021-01-20 15:50:45 +00:00
ifvxlan.c Ensure consistent error messages from ifconfig(8). 2020-11-26 16:36:50 +00:00
ifwg.c ifconfig: fix incorrect wg allowed-ips netmask 2021-02-15 02:39:05 +00:00
Makefile Import kernel WireGuard support 2020-11-29 19:38:03 +00:00
Makefile.depend Update Makefile.depend files 2019-12-11 17:37:53 +00:00
Makefile.depend.options Add Makefile.depend.options 2019-12-11 17:37:37 +00:00
sfp.c Move ifconfig SFP status functionality into libifconfig 2020-08-09 16:27:28 +00:00