On Sun, Jun 21, 2020 at 12:52:53PM +0200, Matthieu Herrb wrote: > On Fri, Jun 19, 2020 at 06:46:00PM +1000, Matt Dunwoodie wrote: > > Hi all, > > > > After the previous submission of WireGuard, we've again been through a > > number of improvements. Thank you everyone for your feedback. > > Hi, > > While giving wireguard a try, I found that this patch is needed to fix > ifconfig(8) documentation :
Oh yeah, I hit that too. OK by me. > > diff --git sbin/ifconfig/ifconfig.8 sbin/ifconfig/ifconfig.8 > index 29edeb60793..93429b4c103 100644 > --- sbin/ifconfig/ifconfig.8 > +++ sbin/ifconfig/ifconfig.8 > @@ -2056,7 +2056,7 @@ Packets on a VLAN interface without a tag set will use > a value of > .Op Cm wgpsk Ar presharedkey > .Op Fl wgpsk > .Op Cm wgpka Ar persistent-keepalive > -.Op Cm wgpip Ar ip port > +.Op Cm wgendpoint Ar ip port > .Op Cm wgaip Ar allowed-ip/prefix > .Oc > .Op Fl wgpeerall > @@ -2137,7 +2137,7 @@ By default this functionality is disabled, equivalent > to a value of 0. > This is often used to ensure a peer will be accessible when protected by > a firewall, as is when behind a NAT address. > A value of 25 is commonly used. > -.It Cm wgpip Ar ip port > +.It Cm wgendpoint Ar ip port > Set the IP address and port to send the encapsulated packets to. > If the peer changes address, the local interface will update the address > after receiving a correctly authenticated packet. > > -- > Matthieu Herrb >