Re: ifconfig description for wireguard peers

2021-11-30 Thread Noah Meier
Hi Stefan, Richard Procter offered some kind advice on the ordering of options in the man page (to be done alphabetically) and commented on an unnecessary cast. I also believe that I goofed by failing to initalize the mutex and zero the description upon peer creation (in wg_peer_create). I’ve

ifconfig description for wireguard peers

2021-10-20 Thread Noah Meier
Hi, While wireguard interfaces can have a description set by ifconfig, wireguard peers currently cannot. I now have a lot of peers and descriptions of them in ifconfig would be helpful. This diff adds a 'wgdesc' option to a 'wgpeer' in ifconfig (and a corresponding '-wgdesc' option). Man page