On Tue, Nov 30, 2021 at 02:31:20PM -0500, Noah Meier wrote: > 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 attempted to address these issues and have pasted the diff below. > > NM
This new patch does not apply cleanly. Leading whitespace was stripped, and thus patch complains as follows: Patching file if_wg.c using Plan A... patch: **** malformed patch at line 15: }; And it would help if you created a patch where all paths are relative to the /usr/src directory. Something like this should do it: cd /usr/src cvs diff -u sbin/ifconfig sys/net > /tmp/wgdesc.patch If your mailer cannot preserve whitespace as-is then please try attaching the patch file instead of inlining it. Thanks!
