Date: Tue, 4 Oct 2005 11:48:03 +0000 (UTC) From: Yar Tikhiy <yar@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sbin/ifconfig ifvlan.c Message-ID: <200510041148.j94Bm3mX089998@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
yar 2005-10-04 11:48:03 UTC
FreeBSD src repository
Modified files:
sbin/ifconfig ifvlan.c
Log:
Use a callback to set up a vlan interface so that "vlan"
and "vlandev" commands can be specified in any order.
This makes the code more compact and clear as well.
Improve error check on vlan argument.
MFC after: 2 weeks
Revision Changes Path
1.9 +30 -36 src/sbin/ifconfig/ifvlan.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200510041148.j94Bm3mX089998>
