From 30085cff38e4d9745855dd2b46a7e601f0ec2978 Mon Sep 17 00:00:00 2001 From: Wouter Verhelst Date: Thu, 1 Apr 2010 13:23:30 +0200 Subject: [PATCH] Missed a bit --- nbd-server.5.in | 22 ++++++++++++++-------- nbd-server.5.sgml | 22 ++++++++++++++-------- 2 files changed, 28 insertions(+), 16 deletions(-) diff --git a/nbd-server.5.in b/nbd-server.5.in index 079af82..46c8183 100644 --- a/nbd-server.5.in +++ b/nbd-server.5.in @@ -279,14 +279,14 @@ name. \fBnbd-server\fR will look for the literal string '%s' in the \fBexportname\fR, and replace it by the -IP address of the connecting host in dotted-quad -notation. The string that results from this -transformation will be used as an absolute pathname -that \fBnbd-server\fR will attempt to -open. As an example, if a client connects from -192.168.1.100 and \fBexportname\fR is -specified as \fI/export/%s\fR, then -nbd-server will attempt to serve +address of the connecting host. The string that +results from this transformation will be used as an +absolute pathname that \fBnbd-server\fR +will attempt to open. As an example, if a client +connects from 192.168.1.100 and +\fBexportname\fR is specified as +\fI/export/%s\fR, then nbd-server +will attempt to serve \fI/export/192.168.1.100\fR .TP \fBiphash\fR @@ -296,6 +296,10 @@ in the IP address by forward slashes ('/'); in the same example, \fBnbd-server\fR would open \fI/export/192/168/1/100\fR instead. + +Since there are no dots in most IPv6 addresses, the +effect of using this option when IPv6 is in use is +indistinguishable from the ipliteral option. .TP \fBcidrhash\fR This option requires one to add a space and a number @@ -310,6 +314,8 @@ if \fBvirtstyle\fR were specified as cidrhash 26, then \fBnbd-server\fR will try to open \fI/export/192.168.1.64/192.168.1.100\fR\&. + +This option works as expected for IPv6. .RE .TP \fBprerun\fR diff --git a/nbd-server.5.sgml b/nbd-server.5.sgml index e441244..871873d 100644 --- a/nbd-server.5.sgml +++ b/nbd-server.5.sgml @@ -419,14 +419,14 @@ manpage.1: manpage.sgml nbd-server will look for the literal string '%s' in the , and replace it by the - IP address of the connecting host in dotted-quad - notation. The string that results from this - transformation will be used as an absolute pathname - that nbd-server will attempt to - open. As an example, if a client connects from - 192.168.1.100 and is - specified as /export/%s, then - nbd-server will attempt to serve + address of the connecting host. The string that + results from this transformation will be used as an + absolute pathname that nbd-server + will attempt to open. As an example, if a client + connects from 192.168.1.100 and + is specified as + /export/%s, then nbd-server + will attempt to serve /export/192.168.1.100 @@ -442,6 +442,11 @@ manpage.1: manpage.sgml open /export/192/168/1/100 instead. + + Since there are no dots in most IPv6 addresses, the + effect of using this option when IPv6 is in use is + indistinguishable from the ipliteral option. + @@ -461,6 +466,7 @@ manpage.1: manpage.sgml nbd-server will try to open /export/192.168.1.64/192.168.1.100. + This option works as expected for IPv6. -- 1.7.10.4