diff options
author | maride <maride@darknebu.la> | 2018-09-08 01:29:22 +0200 |
---|---|---|
committer | maride <maride@darknebu.la> | 2018-09-08 01:29:22 +0200 |
commit | 9ee92da5e3d52fe11415193a9391eee3ad541c72 (patch) | |
tree | 221c8c4eb84750a843e1735c7c7cae26bb53ebea /src/main.go | |
parent | 0554bfa9a1ee2a7c9d3ff24749317fd9b3202ca2 (diff) |
Avoid collision by adding the hashed username to networks
Diffstat (limited to 'src/main.go')
-rw-r--r-- | src/main.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.go b/src/main.go index 574d156..ff76b45 100644 --- a/src/main.go +++ b/src/main.go @@ -58,7 +58,7 @@ func cleanup(signalChannel chan os.Signal, server http.Server) { log.Println("Stopping challenge containers") stopAllChallengeContainers() log.Println("Deleting Docker networks") - deleteNetwork(vpnHostNetworkName) - deleteNetwork(containerNetworkName) + deleteNetwork(getVPNNetworkName()) + deleteNetwork(getChallengeNetworkName()) os.Exit(0) } |