From: Chuck Lever Date: Mon, 24 May 2010 10:02:22 +0000 (-0400) Subject: mountd: Convert colons in IPv6 presentation addresses tosemicolons X-Git-Tag: nfs-utils-1-2-3-rc4~13 X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;ds=sidebyside;h=291b329ad1f5a65270097f4ec3a8dd465df42669;hp=291b329ad1f5a65270097f4ec3a8dd465df42669;p=nfs-utils.git mountd: Convert colons in IPv6 presentation addresses tosemicolons The /var/lib/nfs/rmtab file delineates fields in each of its lines with a ":". The first field contains the IP address of a client, in presentation format. IPv6 presentation format addresses contain colons, which screws up the field delineation of rmtab. Use a simple simple scheme to convert the colons in incoming client names to some other character, and then convert them back when the rmtab file is read. Signed-off-by: Chuck Lever Signed-off-by: Steve Dickson ---