freebsd-src/lib/libnetmap
Vincenzo Maffione ad874544d9 libnetmap: remove interface name validation
When trying to use a VLAN device (e.g. "em0.123") with a dot
the library fails to parse the interface correctly. The former
pattern is much too restrictive given that almost all characters
can be coerced into a device name via ifconfig.

Remove the particularly restrictive validation.  Some characters
still cannot be used as an interface name as they are used as
delimiters in the syntax, but this allows to be able to use most
of them without an issue.

Submitted by:	franco@opnsense.org
Differential Revision:	https://reviews.freebsd.org/D42485
Reviewed by:	vmaffione
2023-12-21 14:43:57 +00:00
..
libnetmap.h Remove $FreeBSD$: one-line .h pattern 2023-08-16 11:54:23 -06:00
Makefile Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
nmctx-pthreads.c Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
nmctx.c Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
nmport.c Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
nmreq.c libnetmap: remove interface name validation 2023-12-21 14:43:57 +00:00