]> git.ipfire.org Git - thirdparty/wireguard-go.git/commit
tun: make customization of WintunPool and requested GUID more obvious
authorJason A. Donenfeld <Jason@zx2c4.com>
Tue, 22 Dec 2020 13:09:16 +0000 (14:09 +0100)
committerJason A. Donenfeld <Jason@zx2c4.com>
Thu, 7 Jan 2021 13:49:44 +0000 (14:49 +0100)
commitd664444928f91c01a2c7583fdb58983c308e9b4d
tree9acc6496de3e8acbeb0e67144223dd1f11e61c4c
parent1481e72107db7b42db88047ad1faf7cb6924fb78
tun: make customization of WintunPool and requested GUID more obvious

Persnickety consumers can now do:

    func init() {
        tun.WintunPool, _ = wintun.MakePool("Flurp")
        tun.WintunStaticRequestedGUID, _ = windows.GUIDFromString("{5ae2716f-0b3e-4dc4-a8b5-48eba11a6e16}")
    }

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
tun/tun_windows.go