On 4-2-2011 13:32, Henning Brauer wrote: > * Camiel Dobbelaar <c...@sentia.nl> [2011-02-04 13:21]: >> With hundreds of (vlan) interfaces, a shutdown takes quite a while. >> Fix below. > > hmm. this relies on all carp interfaces being in the carp interface > group. while that is the default, it is not necessarily so.
I didn't know that a groupname takes precendence, neither did the manpage. :-) -- Cam Index: ifconfig.8 =================================================================== RCS file: /cvs/src/sbin/ifconfig/ifconfig.8,v retrieving revision 1.212 diff -u -r1.212 ifconfig.8 --- ifconfig.8 23 Dec 2010 08:54:59 -0000 1.212 +++ ifconfig.8 4 Feb 2011 13:32:21 -0000 @@ -97,11 +97,15 @@ .Dq en0 . If no optional parameters are supplied, this string can instead be just .Dq name . -In this case, all interfaces of that type will be displayed. +If an interface group with that name exists, all interfaces in the group +will be shown. +Otherwise, +.Dq name +is treated as a type and all interfaces of that type will be displayed. For example, -.Dq carp +.Dq fxp will display the current configuration of all -.Xr carp 4 +.Xr fxp 4 interfaces. .It Ar address_family Specifies the address family