doc/socket_wrapper.1: clarify the possible values for SOCKET_WRAPPER_DEFAULT_IFACE
authorStefan Metzmacher <metze@samba.org>
Fri, 20 Mar 2020 09:28:04 +0000 (10:28 +0100)
committerAndreas Schneider <asn@samba.org>
Sat, 21 Mar 2020 12:59:42 +0000 (13:59 +0100)
The valid range for <ID> starts with 1 (the default) and ends with 64.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
doc/socket_wrapper.1
doc/socket_wrapper.1.txt

index 9f3f75a30c6cdd7e82b5f4bdb5ee6fb742bf274a..b62fb6fe7330c1e463fa663c13cea8f7322821bc 100644 (file)
@@ -77,7 +77,7 @@ The user defines a directory where to put all the unix sockets using the environ
 .PP
 \fBSOCKET_WRAPPER_DEFAULT_IFACE\fR
 .RS 4
-Additionally, the default interface to be used by an application is defined with "SOCKET_WRAPPER_DEFAULT_IFACE=<ID>" where <ID> is between 2 and 254\&. This is analogous to use the IPv4 addresses "127\&.0\&.0\&.<ID>" or IPv6 addresses "fd00::5357:5f<IDx>" (where <IDx> is a hexadecimal presentation of <ID>)\&. You should always set the default interface\&. If you listen on INADDR_ANY then it will use the default interface to listen on\&.
+Additionally, the default interface to be used by an application is defined with "SOCKET_WRAPPER_DEFAULT_IFACE=<ID>" where the valid range for <ID> starts with 1 (the default) and ends with 64\&. This is analogous to use the IPv4 addresses "127\&.0\&.0\&.<ID>" or IPv6 addresses "fd00::5357:5f<IDx>" (where <IDx> is a hexadecimal presentation of <ID>)\&. You should always set the default interface\&. If you listen on INADDR_ANY then it will use the default interface to listen on\&.
 .RE
 .PP
 \fBSOCKET_WRAPPER_PCAP_FILE\fR
index b3ba96cafdaec861d0f2e0cd3d4a9964410c0a8d..15b99bff92e937380244b42e897d6b4c20d682b1 100644 (file)
@@ -38,12 +38,12 @@ socket in the SOCKET_WRAPPER_DIR.
 
 *SOCKET_WRAPPER_DEFAULT_IFACE*::
 
-Additionally, the default interface to be used by an application is defined
-with "SOCKET_WRAPPER_DEFAULT_IFACE=<ID>" where <ID> is between 2 and 254. This
-is analogous to use the IPv4 addresses "127.0.0.<ID>" or IPv6 addresses
-"fd00::5357:5f<IDx>" (where <IDx> is a hexadecimal presentation of <ID>). You
-should always set the default interface. If you listen on INADDR_ANY then it
-will use the default interface to listen on.
+Additionally, the default interface to be used by an application is defined with
+"SOCKET_WRAPPER_DEFAULT_IFACE=<ID>" where the valid range for <ID> starts with 1
+(the default) and ends with 64. This is analogous to use the IPv4 addresses
+"127.0.0.<ID>" or IPv6 addresses "fd00::5357:5f<IDx>" (where <IDx> is a
+hexadecimal presentation of <ID>). You should always set the default interface.
+If you listen on INADDR_ANY then it will use the default interface to listen on.
 
 *SOCKET_WRAPPER_PCAP_FILE*::