Re: cvs commit: src/sbin/ifconfig ifconfig.c

2008-10-02 Thread Ed Schouten
* Sam Leffler <[EMAIL PROTECTED]> wrote: > Try the attached patch. It's probably better to split the callback > routines into clone+!clone variants but for now this should fix your > usage. I'd actually like to see vlan state be fixed for the life of the > ifnet and do away with this usage

Re: cvs commit: src/sbin/ifconfig ifconfig.c

2008-10-02 Thread Sam Leffler
Ed Schouten wrote: Hello Sam, * Sam Leffler <[EMAIL PROTECTED]> wrote: sam 2008-09-29 16:27:32 UTC FreeBSD src repository Modified files: sbin/ifconfigifconfig.c Log: SVN rev 183466 on 2008-09-29 16:27:32Z by sam Distinguish between cmd/parameters used fo

Re: cvs commit: src/sbin/ifconfig ifconfig.c

2008-10-02 Thread Sam Leffler
John Hay wrote: On Thu, Oct 02, 2008 at 02:25:11PM +0200, Ed Schouten wrote: Hello Sam, * Sam Leffler <[EMAIL PROTECTED]> wrote: sam 2008-09-29 16:27:32 UTC FreeBSD src repository Modified files: sbin/ifconfigifconfig.c Log: SVN rev 183466 on 2008-09-29

Re: cvs commit: src/sbin/ifconfig ifconfig.c

2008-10-02 Thread John Hay
On Thu, Oct 02, 2008 at 02:25:11PM +0200, Ed Schouten wrote: > Hello Sam, > > * Sam Leffler <[EMAIL PROTECTED]> wrote: > > sam 2008-09-29 16:27:32 UTC > > > > FreeBSD src repository > > > > Modified files: > > sbin/ifconfigifconfig.c > > Log: > > SVN rev 183466 on 20

Re: cvs commit: src/sbin/ifconfig ifconfig.c

2008-10-02 Thread Ed Schouten
Hello Sam, * Sam Leffler <[EMAIL PROTECTED]> wrote: > sam 2008-09-29 16:27:32 UTC > > FreeBSD src repository > > Modified files: > sbin/ifconfigifconfig.c > Log: > SVN rev 183466 on 2008-09-29 16:27:32Z by sam > > Distinguish between cmd/parameters used for clon

cvs commit: src/sbin/ifconfig ifconfig.c

2008-09-29 Thread Sam Leffler
sam 2008-09-29 16:27:32 UTC FreeBSD src repository Modified files: sbin/ifconfigifconfig.c Log: SVN rev 183466 on 2008-09-29 16:27:32Z by sam Distinguish between cmd/parameters used for clone operations and all others. Use this to disambiguate cmd line argumen

cvs commit: src/sbin/ifconfig ifconfig.c

2007-10-04 Thread Andrew Thompson
thompsa 2007-10-04 09:45:41 UTC FreeBSD src repository Modified files: sbin/ifconfigifconfig.c Log: Fix the module name matching to the drivers present in the kernel. Previously it would return true on a partial match where it would think the edsc module was already p

cvs commit: src/sbin/ifconfig ifconfig.c

2007-03-24 Thread Yar Tikhiy
yar 2007-03-24 20:26:54 UTC FreeBSD src repository Modified files: sbin/ifconfigifconfig.c Log: Back out rev. 1.129 because it breaks the practice of auto-loading hardware drivers. Unlike pseudo-device drivers, which just attach to the cloning framework and wait

Re: cvs commit: src/sbin/ifconfig ifconfig.c

2007-03-12 Thread Yar Tikhiy
On Tue, Mar 13, 2007 at 07:20:49AM +1300, Andrew Thompson wrote: > On Mon, Mar 12, 2007 at 01:08:56PM +, Yar Tikhiy wrote: > > yar 2007-03-12 13:08:56 UTC > > > > FreeBSD src repository > > > > Modified files: > > sbin/ifconfigifconfig.c > > Log: > > Attempt to lo

Re: cvs commit: src/sbin/ifconfig ifconfig.c

2007-03-12 Thread Andrew Thompson
On Mon, Mar 12, 2007 at 01:08:56PM +, Yar Tikhiy wrote: > yar 2007-03-12 13:08:56 UTC > > FreeBSD src repository > > Modified files: > sbin/ifconfigifconfig.c > Log: > Attempt to load the kernel module only if we are going to create a > new interface. In other

cvs commit: src/sbin/ifconfig ifconfig.c

2007-03-12 Thread Yar Tikhiy
yar 2007-03-12 13:08:56 UTC FreeBSD src repository Modified files: sbin/ifconfigifconfig.c Log: Attempt to load the kernel module only if we are going to create a new interface. In other cases loading the module is unwanted and can lead to ill side effects. One

Re: cvs commit: src/sbin/ifconfig ifconfig.c

2007-02-28 Thread Dag-Erling Smørgrav
Sam Leffler <[EMAIL PROTECTED]> writes: > Log: > unbreak create operation, must copy argument to global name Thank you! DES -- Dag-Erling Smørgrav - [EMAIL PROTECTED] ___ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cv

cvs commit: src/sbin/ifconfig ifconfig.c

2007-02-27 Thread Sam Leffler
sam 2007-02-27 17:11:18 UTC FreeBSD src repository Modified files: sbin/ifconfigifconfig.c Log: o consistently check strlcpy result o warn when we skip an interface because it's name is too long Revision ChangesPath 1.128 +10 -2 src/sbin/ifconfig

cvs commit: src/sbin/ifconfig ifconfig.c

2007-02-27 Thread Sam Leffler
sam 2007-02-27 17:03:22 UTC FreeBSD src repository Modified files: sbin/ifconfigifconfig.c Log: correct type to silence const complaint Revision ChangesPath 1.127 +2 -1 src/sbin/ifconfig/ifconfig.c ___ c

cvs commit: src/sbin/ifconfig ifconfig.c

2007-02-27 Thread Sam Leffler
sam 2007-02-27 17:00:59 UTC FreeBSD src repository Modified files: sbin/ifconfigifconfig.c Log: unbreak create operation, must copy argument to global name Spotted by: des Revision ChangesPath 1.126 +1 -0 src/sbin/ifconfig/ifconfig.c

cvs commit: src/sbin/ifconfig ifconfig.c

2006-12-29 Thread Bjoern A. Zeeb
bz 2006-12-29 18:44:05 UTC FreeBSD src repository Modified files: sbin/ifconfigifconfig.c Log: Fix an off-by-one which could mean writing beyond the end of the array when copying the interface name. This code part should probably be rewritten. Revision Chan

cvs commit: src/sbin/ifconfig ifconfig.c

2006-09-20 Thread Andre Oppermann
andre 2006-09-20 15:38:37 UTC FreeBSD src repository Modified files: sbin/ifconfigifconfig.c Log: In setifcap() only set/unset those capabilities the interface actually supports. Revision ChangesPath 1.123 +1 -0 src/sbin/ifconfig/ifconfig.c __

cvs commit: src/sbin/ifconfig ifconfig.c

2006-09-08 Thread Andre Oppermann
andre 2006-09-08 13:29:38 UTC FreeBSD src repository Modified files: sbin/ifconfigifconfig.c Log: Fix octal representation of TSO4 and TSO6 bits in interface capabilities description. Revision ChangesPath 1.122 +1 -1 src/sbin/ifconfig/ifconfig.c _

cvs commit: src/sbin/ifconfig ifconfig.c

2006-03-18 Thread Gleb Smirnoff
glebius 2006-03-18 21:59:22 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sbin/ifconfigifconfig.c Log: MFC 1.119: There is no IFF_POLLING flag anymore. Approved by:re (mux) Revision ChangesPath 1.113.2.5 +1 -1 src/sbi

cvs commit: src/sbin/ifconfig ifconfig.c

2006-03-12 Thread Gleb Smirnoff
glebius 2006-03-12 14:00:15 UTC FreeBSD src repository Modified files: sbin/ifconfigifconfig.c Log: There is no IFF_POLLING flag anymore. Revision ChangesPath 1.119 +1 -1 src/sbin/ifconfig/ifconfig.c ___ cvs

cvs commit: src/sbin/ifconfig ifconfig.c ifvlan.c

2006-02-09 Thread Yar Tikhiy
yar 2006-02-09 10:48:43 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sbin/ifconfigifconfig.c ifvlan.c Log: MFC ifconfig.c rev. 1.117: Do address assignment/removal operations after callbacks. Presently, ifconfig callbacks are used for L2 c

cvs commit: src/sbin/ifconfig ifconfig.c

2006-01-30 Thread Gleb Smirnoff
glebius 2006-01-30 14:04:30 UTC FreeBSD src repository Modified files: sbin/ifconfigifconfig.c Log: Recognize new VLAN_HWCSUM flag. Revision ChangesPath 1.118 +2 -1 src/sbin/ifconfig/ifconfig.c ___ cvs-all@f

cvs commit: src/sbin/ifconfig ifconfig.c

2006-01-30 Thread Yar Tikhiy
yar 2006-01-30 13:37:34 UTC FreeBSD src repository Modified files: sbin/ifconfigifconfig.c Log: Do address assignment/removal operations after callbacks. Presently, ifconfig callbacks are used for L2 configuration, media and vlan, so actions associated with add