bug-zebra
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Zebra 0.95a: does not properly parse option "-i"


From: Guido Trentalancia
Subject: Zebra 0.95a: does not properly parse option "-i"
Date: Wed, 10 Feb 2010 17:16:27 +0100

Zebra 0.95a is not accepting the "-i" option for specifying a PID file. The 
attachment in a previous message was missing ":" for marking the parameter as 
required.

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.
 

Attachment: zebra-0.95a-accept-pid-file-short-option.patch
Description: Text Data

Attachment: zebra-0.95a-document-A-option.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]