summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2020-03-20 10:28:04 +0100
committerAndreas Schneider <asn@samba.org>2020-03-21 13:59:42 +0100
commit6662fefad5104c8ccca16abf3bcc8afa96ccd0ca (patch)
tree2687590320cf59c7330fc9e7ad11b3300e543938
parent010e98c88890837de687f0dc4345375d4b800d4a (diff)
downloadsocket_wrapper-6662fefad5104c8ccca16abf3bcc8afa96ccd0ca.tar.gz
socket_wrapper-6662fefad5104c8ccca16abf3bcc8afa96ccd0ca.tar.xz
socket_wrapper-6662fefad5104c8ccca16abf3bcc8afa96ccd0ca.zip
doc/socket_wrapper.1: clarify the possible values for SOCKET_WRAPPER_DEFAULT_IFACE
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>
-rw-r--r--doc/socket_wrapper.12
-rw-r--r--doc/socket_wrapper.1.txt12
2 files changed, 7 insertions, 7 deletions
diff --git a/doc/socket_wrapper.1 b/doc/socket_wrapper.1
index 9f3f75a..b62fb6f 100644
--- a/doc/socket_wrapper.1
+++ b/doc/socket_wrapper.1
@@ -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
diff --git a/doc/socket_wrapper.1.txt b/doc/socket_wrapper.1.txt
index b3ba96c..15b99bf 100644
--- a/doc/socket_wrapper.1.txt
+++ b/doc/socket_wrapper.1.txt
@@ -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*::