[zebra 23210] Zebra 0.95a: does not properly parse option "-i"
Guido Trentalancia <[email protected]> Wed, 10 Feb 2010 17:11:41 +0100
| Newsgroups | gmane.network.zebra,gmane.network.zebra.bugs |
|---|---|
| Message-ID | <[email protected]> |
--=-M+hPF0K2Uph8sbVjaY6T
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
Zebra 0.95a is not accepting the "-i" option for specifying a PID file.
Also, the "-A" option is not fully documented in the manual page
--- zebra-0.95a/zebra/main.c.orig 2010-02-10 16:52:36.406991920 +0100
+++ zebra-0.95a/zebra/main.c 2010-02-10 16:51:58.859996737 +0100
@@ -199,7 +199,7 @@ main (int argc, char **argv)
{
int opt;
- opt = getopt_long (argc, argv, "bdklf:hA:P:rv", longopts, 0);
+ opt = getopt_long (argc, argv, "bdklf:hi:A:P:rv", longopts, 0);
if (opt == EOF)
break;
--- zebra-0.95a/doc/zebra.8.orig 2010-02-10 17:09:39.567995602 +0100
+++ zebra-0.95a/doc/zebra.8 2010-02-10 17:09:49.687998098 +0100
@@ -65,6 +65,10 @@ Specify the port that the zebra VTY will
2602, as specified in \fB\fI/etc/services\fR.
.TP
+\fB\-A\fR, \fB\-\-vty_addr \fR\fIvty-address\fR
+Specify the address that the zebra VTY will listen on. Default is all interfaces.
+
+.TP
\fB\-r\fR, \fB\-\-retain\fR
When the program terminates, retain routes added by \fBzebra\fR.
--=-M+hPF0K2Uph8sbVjaY6T
Content-Disposition: attachment;
filename="zebra-0.95a-accept-pid-file-short-option.patch"
Content-Type: text/x-patch;
name="zebra-0.95a-accept-pid-file-short-option.patch";
charset="us-ascii"
Content-Transfer-Encoding: 7bit
--- zebra-0.95a/zebra/main.c.orig 2010-02-10 16:52:36.406991920 +0100
+++ zebra-0.95a/zebra/main.c 2010-02-10 16:51:58.859996737 +0100
@@ -199,7 +199,7 @@ main (int argc, char **argv)
{
int opt;
- opt = getopt_long (argc, argv, "bdklf:hA:P:rv", longopts, 0);
+ opt = getopt_long (argc, argv, "bdklf:hiA:P:rv", longopts, 0);
if (opt == EOF)
break;
--=-M+hPF0K2Uph8sbVjaY6T
Content-Disposition: attachment; filename="zebra-0.95a-document-A-option.patch"
Content-Type: text/x-patch; name="zebra-0.95a-document-A-option.patch";
charset="us-ascii"
Content-Transfer-Encoding: 7bit
--- zebra-0.95a/doc/zebra.8.orig 2010-02-10 17:09:39.567995602 +0100
+++ zebra-0.95a/doc/zebra.8 2010-02-10 17:09:49.687998098 +0100
@@ -65,6 +65,10 @@ Specify the port that the zebra VTY will
2602, as specified in \fB\fI/etc/services\fR.
.TP
+\fB\-A\fR, \fB\-\-vty_addr \fR\fIvty-address\fR
+Specify the address that the zebra VTY will listen on. Default is all interfaces.
+
+.TP
\fB\-r\fR, \fB\-\-retain\fR
When the program terminates, retain routes added by \fBzebra\fR.
--=-M+hPF0K2Uph8sbVjaY6T
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
Zebra mailing list
[email protected]
http://ml.zebra.org/mailman/listinfo/zebra
--=-M+hPF0K2Uph8sbVjaY6T--