commit b983c67d100afa89d1776dc3ee33f6d0a32948c5
Author: Alex Hornung <[email protected]>
Date: Sun Jul 13 10:45:44 2014 +0100
ifconfig - use correct name after cloning
* When running something like 'ifconfig vlan create vlandev foo vlan
99', the vlan would be created correctly, but SIOCSETVLAN would be
called on 'vlan' instead of the newly created vlan device.
* Work around this by updating ifr_name from name (which is updated by
the clone function) after doing the actual clone callback.
Summary of changes:
sbin/ifconfig/ifconfig.c | 7 +++++++
1 file changed, 7 insertions(+)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/b983c67d100afa89d1776dc3ee33f6d0a32948c5
--
DragonFly BSD source repository