1
0
mirror of https://git.proxmox.com/git/mirror_zfs.git synced 2025-05-09 18:28:27 +03:00
mirror_zfs/lib/libshare/os
rmacklem 2dc8529d9a Fix handling of DNS names with '-' in them for sharenfs
An old FreeBSD bugzilla report PR#168158 notes that DNS
names with '-'s in them cannot be used for the sharenfs
property.  This patch fixes the parsing of these DNS names.
The only negative affect this patch might have is that,
if a user has incorrectly separated options with a '-'
the sharenfs setting will no longer work once this patch
is applied.

Reviewed by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Alexander Motin <mav@FreeBSD.org>
Signed-off-by: Rick Macklem <rmacklem@uoguelph.ca>
Closes 
2024-11-05 15:43:52 -08:00
..
freebsd Fix handling of DNS names with '-' in them for sharenfs 2024-11-05 15:43:52 -08:00
linux Improve the handling of sharesmb,sharenfs properties 2023-10-03 15:41:46 -07:00