Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 06 Mar 2016 08:52:47 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-net@FreeBSD.org
Subject:   [Bug 206876] ifconfig(8): Inconsistent behavior when creating and giving custom name to interface at the same time
Message-ID:  <bug-206876-2472-qkZuXcgH9K@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-206876-2472@https.bugs.freebsd.org/bugzilla/>
References:  <bug-206876-2472@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D206876

--- Comment #5 from commit-hook@freebsd.org ---
A commit references this bug:

Author: kp
Date: Sun Mar  6 08:52:04 UTC 2016
New revision: 296425
URL: https://svnweb.freebsd.org/changeset/base/296425

Log:
  MFC r295836:
  ifconfig(8): can't use 'name' or 'description' when creating interface wi=
th
auto numbering

  If one does 'ifconfig tap create name blah', it will return error because=
 the
  'name' command doesn't properly populate the request sent to ioctl(...). =
The
  'description' command has the same bug, and is also fixed with this patch.

  If one does 'ifconfig tap create mtu 9000 name blah', it DOES work, but
'tap0'
  (or other sequence number) is echoed, instead of the expected 'blah'.
(assuming
  the name change actually succeeded)

  PR:               206876
  Submitted by:       Marie Helene Kvello-Aune <marieheleneka@gmail.com>
  Differential Revision:      https://reviews.freebsd.org/D5341

Changes:
  stable/10/sbin/ifconfig/ifclone.c
  stable/10/sbin/ifconfig/ifconfig.c
  stable/10/sbin/ifconfig/ifconfig.h

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-206876-2472-qkZuXcgH9K>