summaryrefslogtreecommitdiff
path: root/util/isol.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2015-04-29 15:44:44 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2015-04-29 15:44:44 +0200
commitb18f5bf2db0fba2e7e539f68645836036d940d26 (patch)
tree23c4dd8f3d273f34ef9bbe1799d1958685559915 /util/isol.c
parenta7f89980e5b3f4b9a74c70dbc5ffe8aabd28be28 (diff)
Imported Upstream version 2.9.6upstream/2.9.6
Diffstat (limited to 'util/isol.c')
-rw-r--r--util/isol.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/util/isol.c b/util/isol.c
index 381668e..50b0caf 100644
--- a/util/isol.c
+++ b/util/isol.c
@@ -165,7 +165,7 @@ void dbglog( char *pattn, ... ); /*local prototype*/
/*
* Global variables
*/
-static char * progver = "2.93";
+static char * progver = "2.96";
static char * progname = "isol";
static char fdebug = 0;
static char fpicmg = 0;
@@ -1114,7 +1114,7 @@ static void show_usage(void)
printf(" -v debug log filename (default=isoldbg.log)\n");
printf(" -x show eXtra debug messages in debug log\n");
printf(" -z show even more debug messages\n");
- print_lan_opt_usage();
+ print_lan_opt_usage(1);
}
#ifdef METACOMMAND
@@ -1138,7 +1138,7 @@ main(int argc, char **argv)
parse_lan_options('V',"2",0); /*default to user priv*/
- while ( (c = getopt( argc, argv,"ac:dei:k:ln:o:rs:t:u:wv:xzEF:J:N:P:R:T:U:V:YZ:?")) != EOF )
+ while ( (c = getopt( argc, argv,"ac:dei:k:ln:o:p:rs:t:u:wv:xzEF:J:N:P:R:T:U:V:YZ:?")) != EOF )
switch(c) {
case 'a': factivate = 1; break; /*activate*/
case 'd': fdeactivate = 1; break; /*deactivate*/
@@ -1183,6 +1183,7 @@ main(int argc, char **argv)
case 'z': fdebug = 3; break; /*full debug messages */
case 'V': /* priv level */
fprivset = 1;
+ case 'p': /* port */
case 'N': /* nodename */
case 'U': /* remote username */
case 'P': /* remote password */
@@ -1307,7 +1308,6 @@ main(int argc, char **argv)
/*
* Spawn a console raw terminal thread now, which will wait for the
* "Activating cmd (0x02)" on success
- * Using globals: gnode,guser,gpswd, gauth_type, gpriv_level
*/
if (fdeactivate) {
/* Request admin privilege by default, since deactivate requires it. */