]> git.ipfire.org Git - thirdparty/wireguard-go.git/commit
uapi: insert peer version placeholder
authorJason A. Donenfeld <Jason@zx2c4.com>
Mon, 3 Sep 2018 05:04:47 +0000 (23:04 -0600)
committerJason A. Donenfeld <Jason@zx2c4.com>
Mon, 3 Sep 2018 05:04:47 +0000 (23:04 -0600)
commit063becdc735f74965ffa2d51964b87e604b9c1e7
treec9097106b2b7320e6be68f1f3cd0e1c4ef8000a5
parent15da869b31106d47823cb0a6cdd5c0ad3a0c243b
uapi: insert peer version placeholder

While we don't want people to ever use old protocols, people will
complain if the API "changes", so explicitly make the unset protocol
mean the latest, and add a dummy mechanism of specifying the protocol on
a per-peer basis, which we hope nobody actually ever uses.
uapi.go