]> git.ipfire.org Git - thirdparty/wireguard-go.git/commit
tun: make customization of WintunPool and WintunGUID 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>
Tue, 22 Dec 2020 13:16:06 +0000 (14:16 +0100)
commitc27bf0bf4b5ade08c6c8b6ff679c2ec97b0186e0
treed2e4e15bd15b18ce4e2feb80dbd4f847eed6f423
parent756958d857f868792bacdf13f4af2846d1e2bdb7
tun: make customization of WintunPool and WintunGUID more obvious

Persnickety consumers can now do:

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

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