aboutsummaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'cmd')
-rw-r--r--cmd/vhost/main.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/cmd/vhost/main.go b/cmd/vhost/main.go
index a72dc98..5a8324f 100644
--- a/cmd/vhost/main.go
+++ b/cmd/vhost/main.go
@@ -40,6 +40,9 @@ func main() {
case "q":
ipstack.CleanUp()
os.Exit(0)
+ case "exit":
+ ipstack.CleanUp()
+ os.Exit(0)
default:
if len(line) > 4 {
if line[:4] == "down" {