mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 18:40:43 +03:00
libshare: nfs: pass through ipv6 addresses in bracket notation
Recognize when the host part of a sharenfs attribute is an ipv6 Literal and pass that through without modification. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Felix Dörre <felix@dogcraft.de> Closes: #11171 Closes #11939 Closes: #1894
This commit is contained in:
committed by
Brian Behlendorf
parent
ae75a78ba3
commit
9e41d5d05c
+1
-1
@@ -545,7 +545,7 @@ access for a set of IP addresses and to enable root access for system
|
||||
on the
|
||||
.Ar tank/home
|
||||
file system:
|
||||
.Dl # Nm zfs Cm set Sy sharenfs Ns = Ns ' Ns Ar rw Ns =@123.123.0.0/16,root= Ns Ar neo Ns ' tank/home
|
||||
.Dl # Nm zfs Cm set Sy sharenfs Ns = Ns ' Ns Ar rw Ns =@123.123.0.0/16:[::1],root= Ns Ar neo Ns ' tank/home
|
||||
.Pp
|
||||
If you are using DNS for host name resolution,
|
||||
specify the fully-qualified hostname.
|
||||
|
||||
Reference in New Issue
Block a user