[Bug 240539] tuntap: Getting "ifconfig: ioctl SIOCSIFNAME (set name): File exists" from `ifconfig tap create name tap0`

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Sep 12 14:42:20 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240539

--- Comment #1 from Yuri Pankov <yuripv at FreeBSD.org> ---
It makes some sense, actually.  If you don't have any tap devices, `ifconfig
tap create name tap0` would first create 'tap0', and then try to rename it to
'tap0' (which, of course, already exists at that time).  There could be a check
if original and new name are the same, I guess.  Also, you could just create it
as `ifconfig tap0 create`.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list