NetworkExtension: rescope socket instead of tearing down socket

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
Jason A. Donenfeld
2018-12-26 01:17:55 +01:00
parent c563a24348
commit c9c343cde2
4 changed files with 57 additions and 26 deletions
+1 -1
View File
@@ -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