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

Re: CVS: cvs.openbsd.org: src



On Fri, 25 Jun 2004 12:24:24 -0600 (MDT)
Philipp Buehler <pb_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org> wrote:

> Modified files:
> 	sbin/ifconfig  : ifconfig.c 
> 
> Log message:
> introduce "interface groups"

usage() could use some attention :)

Index: ifconfig.c
===================================================================
RCS file: /cvs/src/sbin/ifconfig/ifconfig.c,v
retrieving revision 1.103
diff -u -r1.103 ifconfig.c
--- ifconfig.c	25 Jun 2004 18:24:23 -0000	1.103
+++ ifconfig.c	25 Jun 2004 23:37:06 -0000
@@ -2473,7 +2473,7 @@
 	    "\t[[-]alias] [[-]arp] [broadcast addr]\n"
 	    "\t[[-]debug] [delete] [up] [down] [ipdst addr]\n"
 	    "\t[tunnel src_address dest_address] [deletetunnel]\n"
-	    "\t[description value]\n"
+	    "\t[description value] [[-]group group-name]\n"
 	    "\t[[-]link0] [[-]link1] [[-]link2]\n"
 	    "\t[media type] [[-]mediaopt opts] [instance minst]\n"
 	    "\t[mtu value] [metric nhops] [netmask mask] [prefixlen n]\n"
@@ -2486,7 +2486,7 @@
 	    "\t[vlan vlan_tag vlandev parent_iface] [-vlandev] [vhid n]\n"
 	    "\t[advbase n] [advskew n] [maxupd n] [pass passphrase]\n"
 	    "\t[state init | backup | master] [syncif iface] [-syncif]\n"
-	    "\t[phase n] [range netrange] [snpaoffset n] [nsellength n]\n"
+	    "\t[phase n] [range netrange]\n"
 	    "\t[802.2] [802.2tr] [802.3] [snap] [EtherII]\n"
 #endif
 	    "       ifconfig -A | -Am | -a | -am [address_family]\n"
@@ -2622,7 +2622,7 @@
 }
 
 void
-carp_status()
+carp_status(void)
 {
 	const char *state;
 	struct carpreq carpr;