aboutsummaryrefslogtreecommitdiffstats
path: root/wireguard-go-bridge/wireguard.h
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2018-12-25 22:38:32 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2018-12-26 01:17:55 +0100
commitc9c343cde21eab0b776c97e7017e7fd515b4ac4d (patch)
tree3e2efb04d430b2ee3d4407b33ef50b3327356c60 /wireguard-go-bridge/wireguard.h
parentminizip: Remove zip encryption code (diff)
downloadwireguard-apple-c9c343cde21eab0b776c97e7017e7fd515b4ac4d.tar.xz
wireguard-apple-c9c343cde21eab0b776c97e7017e7fd515b4ac4d.zip
NetworkExtension: rescope socket instead of tearing down socket
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'wireguard-go-bridge/wireguard.h')
-rw-r--r--wireguard-go-bridge/wireguard.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/wireguard-go-bridge/wireguard.h b/wireguard-go-bridge/wireguard.h
index d7183c9..71b4c83 100644
--- a/wireguard-go-bridge/wireguard.h
+++ b/wireguard-go-bridge/wireguard.h
@@ -15,7 +15,7 @@ extern void wgSetLogger(logger_fn_t logger_fn);
extern int wgTurnOn(gostring_t settings, int32_t tun_fd);
extern void wgTurnOff(int handle);
extern int64_t wgSetConfig(int handle, gostring_t settings);
-extern uint16_t wgGetListenPort(int handle);
+extern void wgBindInterfaceScope(int handle, int32_t ifscope);
extern char *wgVersion();
#endif