HomeFreeBSD

libshare: nfs: pass through ipv6 addresses in bracket notation

Description

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

Details

Provenance
felixdoerre <felixdoerre@users.noreply.github.com>Authored on Oct 20 2021, 5:40 PM
GitHub <noreply@github.com>Committed on Oct 20 2021, 5:40 PM
Parents
rGa4cecfbdc96f: zpool should call zfs_nicestrtonum() with non-NULL handle
Branches
Unknown
Tags
Unknown

Event Timeline

GitHub <noreply@github.com> committed rG6cb5e1e7591d: libshare: nfs: pass through ipv6 addresses in bracket notation (authored by felixdoerre <felixdoerre@users.noreply.github.com>).Oct 20 2021, 5:40 PM