Ensure that sessionkill is not called on an unopened session (borks the freelist).
[l2tpns.git] / nsctl.c
diff --git a/nsctl.c b/nsctl.c
index 2ad6a7a..057edfa 100644 (file)
--- a/nsctl.c
+++ b/nsctl.c
@@ -16,13 +16,12 @@ struct {
     char *usage;
     int action;
 } builtins[] = {
-    { "load_plugin", " PLUGIN    Load named plugin",           NSCTL_REQ_LOAD },
-    { "unload_plugin", " PLUGIN  Unload named plugin",         NSCTL_REQ_UNLOAD },
-    { "help", "                  List available commands",     NSCTL_REQ_HELP },
+    { "load_plugin", " PLUGIN                          Load named plugin",             NSCTL_REQ_LOAD },
+    { "unload_plugin", " PLUGIN                        Unload named plugin",           NSCTL_REQ_UNLOAD },
+    { "help", "                                        List available commands",       NSCTL_REQ_HELP },
     { 0 }
 };
 
-
 static int debug = 0;
 static int timeout = 2; // 2 seconds
 static char *me;