summaryrefslogtreecommitdiffstats
path: root/support/export/export.c
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2010-05-24 06:02:22 -0400
committerSteve Dickson <steved@redhat.com>2010-05-24 06:02:22 -0400
commit291b329ad1f5a65270097f4ec3a8dd465df42669 (patch)
tree5de808af2d0cacced1111571279c287a9c340a06 /support/export/export.c
parent9e398e49be79af62fca8efb21849d8a2714dc92a (diff)
downloadnfs-utils-291b329ad1f5a65270097f4ec3a8dd465df42669.tar.gz
nfs-utils-291b329ad1f5a65270097f4ec3a8dd465df42669.tar.xz
nfs-utils-291b329ad1f5a65270097f4ec3a8dd465df42669.zip
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 <chuck.lever@oracle.com> Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'support/export/export.c')
0 files changed, 0 insertions, 0 deletions