[Bug 290916] JIB script should allow “-“ character in interface namer

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 09 Nov 2025 17:35:19 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=290916

--- Comment #1 from Victor <tschetter.victor@gmail.com> ---
Also “jib addm test.jail vtnet0” works.

The line could be edited to be "[ "${name:-x}" = "${name#*[!0-9a-zA-Z.-_]}" -a
$# -gt 1 ] ||" in both the “addm” and “destroy” functions.

Dots (.) and dashes (-) are both supported with ifconfig so why not allow them
here?

Lines are 275 and 385

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