[DragonFlyBSD - Bug #3232] tun/tap: get error message 'create: bad value' when the interface already exists
bugtracker-admin at leaf.dragonflybsd.org
bugtracker-admin at leaf.dragonflybsd.org
Sun Apr 12 04:52:43 PDT 2020
Issue #3232 has been updated by liweitianux.
It seems that on DragonFly, after creating the 'tun0' interface, run the same command 'ifconfig tun0 create' again, 'ifconfig' takes the 'create' option as ordinal argument to configure the 'tun0' interface. So we get the 'create: bad value' error message.
Tried the same test on FreeBSD, but FreeBSD's 'ifconfig' doesn't have this issue and show the error: interface tun0 already exists.
Need to look at FreeBSD's ifconfig code and sync it over.
----------------------------------------
Bug #3232: tun/tap: get error message 'create: bad value' when the interface already exists
http://bugs.dragonflybsd.org/issues/3232#change-13873
* Author: liweitianux
* Status: New
* Priority: Low
* Assignee:
* Category: Networking
* Target version: master
----------------------------------------
When the interface already exists, ifconfig complains 'create: bad value', which is not clear enough compared to say that the interface already exists.
Example:
# ifconfig tun0 create
# ifconfig tun0 create
ifconfig: create: bad value
---Files--------------------------------
VirtualBox_dfly_08_04_2020_18_47_21.png (21.8 KB)
VirtualBox_dfly_08_04_2020_18_46_43.png (17.5 KB)
--
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account
More information about the Bugs
mailing list