wireguard-go: IpcGetOperation: return peers in sorted order

mikma.wg at lists.m7n.se mikma.wg at lists.m7n.se
Sat Feb 15 23:42:45 CET 2020


I have an improvement to IpcGetOperation in wireguard-go.

uapi: IpcGetOperation: return peers in sorted order

Sort peers based on the public key.
The pros of using a sorted peer list is that the order doesn't change in
each ipc operation, or execution of the "wg showconf" command. Which 
could be the case previously with an unsorted peer list.

The output from git format-patch is attached. The patch is also 
available at 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-uapi-IpcGetOperation-return-peers-in-sorted-order.patch
Type: text/x-patch
Size: 2183 bytes
Desc: not available
URL: <http://lists.zx2c4.com/pipermail/wireguard/attachments/20200215/2ea157a3/attachment.bin>

More information about the WireGuard mailing list