diff options
author | Mathias Hall-Andersen <mathias@hall-andersen.dk> | 2017-10-16 21:33:47 +0200 |
---|---|---|
committer | Mathias Hall-Andersen <mathias@hall-andersen.dk> | 2017-10-16 21:33:47 +0200 |
commit | e86d03dca23e5adcbd1c7bd30157bc7d19a932d7 (patch) | |
tree | 5792ecf8bad5a76c96033ceeef32a91df7d344b2 /src/tun.go | |
parent | a72b0f7ae5dda27d839bb317b7c01d11b215e77a (diff) | |
download | wireguard-go-e86d03dca23e5adcbd1c7bd30157bc7d19a932d7.tar.gz wireguard-go-e86d03dca23e5adcbd1c7bd30157bc7d19a932d7.zip |
Initial implementation of source caching
Yet untested.
Diffstat (limited to 'src/tun.go')
-rw-r--r-- | src/tun.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -47,7 +47,7 @@ func (device *Device) RoutineTUNEventReader() { if !device.tun.isUp.Get() { logInfo.Println("Interface set up") device.tun.isUp.Set(true) - updateUDPConn(device) + UpdateUDPListener(device) } } @@ -55,7 +55,7 @@ func (device *Device) RoutineTUNEventReader() { if device.tun.isUp.Get() { logInfo.Println("Interface set down") device.tun.isUp.Set(false) - closeUDPConn(device) + CloseUDPListener(device) } } } |