? ifconfig ? ifconfig.8.gz Index: ifconfig.8 =================================================================== RCS file: /home/ncvs/src/sbin/ifconfig/ifconfig.8,v retrieving revision 1.24 diff -u -r1.24 ifconfig.8 --- ifconfig.8 2000/01/23 01:30:03 1.24 +++ ifconfig.8 2000/02/20 23:10:01 @@ -130,11 +130,14 @@ The following parameters may be set with .Nm ifconfig : .Bl -tag -width indent +.It Cm add +Another name for the ``alias'' parameter. Introduced for compatibility +with BSD/OS. .It Cm alias Establish an additional network address for this interface. This is sometimes useful when changing network numbers, and one wishes to accept packets addressed to the old interface. -If the alias is on the same subnet as the first network adress +If the address is on the same subnet as the first network adress for this interface, a netmask of 0xffffffff has to be specified. .It Cm anycast (Inet6 only) @@ -331,6 +334,9 @@ netmasks though .Fx implements it internally as a set of netmasks. +.It Cm remove +Another name for the ``delete'' parameter. Introduced for compatibility +with BSD/OS. .It Cm phase The argument following this specifies the version (phase) of the Appletalk network attached to the interface. Values of 1 or 2 are permitted. Index: ifconfig.c =================================================================== RCS file: /home/ncvs/src/sbin/ifconfig/ifconfig.c,v retrieving revision 1.48 diff -u -r1.48 ifconfig.c --- ifconfig.c 2000/02/10 03:03:06 1.48 +++ ifconfig.c 2000/02/20 23:10:16 @@ -170,9 +170,11 @@ { "-arp", IFF_NOARP, setifflags }, { "debug", IFF_DEBUG, setifflags }, { "-debug", -IFF_DEBUG, setifflags }, + { "add", IFF_UP, notealias }, { "alias", IFF_UP, notealias }, { "-alias", -IFF_UP, notealias }, { "delete", -IFF_UP, notealias }, + { "remove", -IFF_UP, notealias }, #ifdef notdef #define EN_SWABIPS 0x1000 { "swabips", EN_SWABIPS, setifflags },