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


_______________________________________________
bug-inetutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-inetutils

Reply via email to