]> git.sur5r.net Git - ngadmin/commitdiff
CLI: removed printing of PVID string.
authordarkcoven <admin@darkcoven.tk>
Wed, 5 Sep 2012 10:00:00 +0000 (12:00 +0200)
committerdarkcoven <admin@darkcoven.tk>
Sat, 29 Dec 2012 22:47:45 +0000 (23:47 +0100)
CLI: moved man page.

cli/com_vlan.c
cli/doc/ngadmin.1 [deleted file]
cli/man/ngadmin.1 [new file with mode: 0644]

index 9f9331be06792ecda945bfc22bee48522429e612..90bbfcaf3cbd9dd04b27d3c5d86e500a13a8b78c 100644 (file)
@@ -355,7 +355,6 @@ bool do_vlan_pvid_show (int nb UNUSED, const char **com UNUSED, struct ngadmin *
  }
  
  
  }
  
  
- printf("PVID: \n");
  printf("Port\t");
  for (i=1; i<=sa->ports; ++i) {
   printf("%i\t", i);
  printf("Port\t");
  for (i=1; i<=sa->ports; ++i) {
   printf("%i\t", i);
diff --git a/cli/doc/ngadmin.1 b/cli/doc/ngadmin.1
deleted file mode 100644 (file)
index fe70912..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-
-.TH NGADMIN "1" "December 2011" "NgAdmin 0.0.2" "User Commands"
-.SH NAME
-ngadmin \- cli tool for GS10[58]E administration
-
-.SH SYNOPSIS
-ngadmin [\fIOPTIONS\fR]
-
-.SH DESCRIPTION
-
-.PP
-This is a cli tool intended for administration of Netgear switches that use NSDP. 
-Currently, only the GS105E and GS108E are concerned. 
-
-.TP
-\fB-b\fR
-Keep broadcasting even when talking with a particular switch. 
-By default, once you login on a switch, NgAdmin talks with it using unicast. 
-This prevents the password from being sent to all your network. The switch 
-still replies using broadcast, but the password is not included in the 
-replies. This function allows you to disable this feature and do like the 
-official Windows application that always use broadcast packets. 
-This also allows to configure a switch which is not on your network range 
-without forcing the interface. 
-When you enable this option, you must be aware that on every modification 
-you make, your password is broadcasted in cleartext to all your network. 
-
-
-
-.SH COMMANDS
-
-
-.SH BUGS
-Currently, firmware uptade is not implemented, because it would require much 
-more work in the library (and a TFTP client). 
-.br
-And overvall, it is quite dangerous, as it is not sure that the switch checks 
-whatever you send to it. 
-
-
-.SH AUTHOR
-Written by HervĂ© Boisse (h.boisse@orange.fr). 
-
-
-
-
diff --git a/cli/man/ngadmin.1 b/cli/man/ngadmin.1
new file mode 100644 (file)
index 0000000..fe70912
--- /dev/null
@@ -0,0 +1,46 @@
+
+.TH NGADMIN "1" "December 2011" "NgAdmin 0.0.2" "User Commands"
+.SH NAME
+ngadmin \- cli tool for GS10[58]E administration
+
+.SH SYNOPSIS
+ngadmin [\fIOPTIONS\fR]
+
+.SH DESCRIPTION
+
+.PP
+This is a cli tool intended for administration of Netgear switches that use NSDP. 
+Currently, only the GS105E and GS108E are concerned. 
+
+.TP
+\fB-b\fR
+Keep broadcasting even when talking with a particular switch. 
+By default, once you login on a switch, NgAdmin talks with it using unicast. 
+This prevents the password from being sent to all your network. The switch 
+still replies using broadcast, but the password is not included in the 
+replies. This function allows you to disable this feature and do like the 
+official Windows application that always use broadcast packets. 
+This also allows to configure a switch which is not on your network range 
+without forcing the interface. 
+When you enable this option, you must be aware that on every modification 
+you make, your password is broadcasted in cleartext to all your network. 
+
+
+
+.SH COMMANDS
+
+
+.SH BUGS
+Currently, firmware uptade is not implemented, because it would require much 
+more work in the library (and a TFTP client). 
+.br
+And overvall, it is quite dangerous, as it is not sure that the switch checks 
+whatever you send to it. 
+
+
+.SH AUTHOR
+Written by HervĂ© Boisse (h.boisse@orange.fr). 
+
+
+
+