https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=206876
--- Comment #1 from Marie Helene Kvello-Aune <mariehelen...@gmail.com> --- I've made a patch to fix this problem. I'll submit it once I find a way of making ifconfig echo the name of the interface AFTER the 'name' command, instead of the name of the interface during 'create' command. Example: "ifconfig tap create name blah" would echo "tap0" but should echo "blah". I found the same bug appeared with the 'description' command as well (ifconfig tap create description "some description"). The bug is that setifdescr(...) and setifname(...) doesn't copy the 'global namespace' member 'name' onto the 'ifr.ifr_name' member before doing operations. This made me realize a workaround exist. If you manage to run a command which initializes 'ifr.ifr_name' properly before the 'name' or 'description' commands, these would work as expected. Example: 'ifconfig tap create mtu 9000 name mysupertap' I'll keep digging into the source to figure out how to echo the proper interface name now. -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ freebsd-net@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"