Missed a bit
authorWouter Verhelst <w@uter.be>
Thu, 1 Apr 2010 11:23:30 +0000 (13:23 +0200)
committerWouter Verhelst <w@uter.be>
Thu, 1 Apr 2010 11:23:30 +0000 (13:23 +0200)
nbd-server.5.in
nbd-server.5.sgml

index 079af82..46c8183 100644 (file)
@@ -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
index e441244..871873d 100644 (file)
@@ -419,14 +419,14 @@ manpage.1: manpage.sgml
                  <command>nbd-server</command> will look for the
                  literal string '%s' in the
                  <option>exportname</option>, 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 <command>nbd-server</command> will attempt to
-                 open. As an example, if a client connects from
-                 192.168.1.100 and <option>exportname</option> is
-                 specified as <filename>/export/%s</filename>, 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 <command>nbd-server</command>
+                 will attempt to open. As an example, if a client
+                 connects from 192.168.1.100 and
+                 <option>exportname</option> is specified as
+                 <filename>/export/%s</filename>, then nbd-server
+                 will attempt to serve
                  <filename>/export/192.168.1.100</filename>
                </para>
              </listitem>
@@ -442,6 +442,11 @@ manpage.1: manpage.sgml
                  open <filename>/export/192/168/1/100</filename>
                  instead.
                </para>
+               <para>
+                 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.
+               </para>
              </listitem>
            </varlistentry>
            <varlistentry>
@@ -461,6 +466,7 @@ manpage.1: manpage.sgml
                  <command>nbd-server</command> will try to open
                  <filename>/export/192.168.1.64/192.168.1.100</filename>.
                </para>
+               <para>This option works as expected for IPv6.</para>
              </listitem>
            </varlistentry>
          </variablelist>