[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-inetutils] Argpifying ifconfig.
From: |
Debarshi 'Rishi' Ray |
Subject: |
Re: [bug-inetutils] Argpifying ifconfig. |
Date: |
Mon, 9 Apr 2007 03:26:48 +0530 |
ifconfig/system/osf.c:
The documentation in the older code suggests that an address family
can be specified just after the name of the interface has been
specified:
const char *system_help = "\
NAME [AF]
or
NAME AF [ADDR [DSTADDR]] [broadcast BRDADDR]\n\
[netmask MASK] [metric N]";
However the older code is such that parse_opt_set_af can only be
invoked after parse_opt_set_address has been called:
if (!(*ifp->valid & IF_VALID_ADDR))
{
parse_opt_set_address (*ifp, argv[i]);
expect = EXPECT_AF;
}
Isn't this a discrepancy? If yes, which one is to be followed?
Happy hacking,
Debarshi
--
GPG key ID: 63D4A5A7
Key server: pgp.mit.edu
- Re: [bug-inetutils] Argpifying ifconfig., (continued)
- Re: [bug-inetutils] Argpifying ifconfig., Sergey Poznyakoff, 2007/04/04
- Re: [bug-inetutils] Argpifying ifconfig., Alfred M. Szmidt, 2007/04/05
- Re: [bug-inetutils] Argpifying ifconfig., Sergey Poznyakoff, 2007/04/05
- Re: [bug-inetutils] Argpifying ifconfig., Alfred M. Szmidt, 2007/04/05
- Re: [bug-inetutils] Argpifying ifconfig., Debarshi 'Rishi' Ray, 2007/04/05
- Re: [bug-inetutils] Argpifying ifconfig., Alfred M. Szmidt, 2007/04/05
- Re: [bug-inetutils] Argpifying ifconfig., Debarshi 'Rishi' Ray, 2007/04/05
- Re: [bug-inetutils] Argpifying ifconfig., Debarshi 'Rishi' Ray, 2007/04/05
- Re: [bug-inetutils] Argpifying ifconfig., Alfred M. Szmidt, 2007/04/07
- Re: [bug-inetutils] Argpifying ifconfig., Sergey Poznyakoff, 2007/04/08
- Re: [bug-inetutils] Argpifying ifconfig.,
Debarshi 'Rishi' Ray <=
- Re: [bug-inetutils] Argpifying ifconfig., Sergey Poznyakoff, 2007/04/10