Fix: wireguard cleanup preventing restarts

This commit is contained in:
Quentin McGaw (desktop)
2021-09-04 22:29:04 +00:00
parent 61afdce788
commit 82ac568ee3
6 changed files with 65 additions and 6 deletions

View File

@@ -52,8 +52,12 @@ const (
stepTwo
// stepThree closes the UAPI file.
stepThree
// stepFour closes the Wireguard device.
// stepFour shuts down the Wireguard link.
stepFour
// stepFive closes the bind connection and the TUN device file.
// stepFive removes the Wireguard link.
stepFive
// stepSix closes the Wireguard device.
stepSix
// stepSeven closes the bind connection and the TUN device file.
stepSeven
)