summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKristian Lein-Mathisen <kristianlein@gmail.com>2017-01-14 11:59:39 +0100
committerGarrett D'Amore <garrett@damore.org>2017-01-14 13:42:11 -0800
commite982d6814d8697afd78f019deab1fd988545f6cb (patch)
tree9b78073d5ecc80c6bf85bdd2250a5417c1ed11ea
parentee99202f84f8d0e8ebd1c1722aa8a682f54919d0 (diff)
downloadnanomsg-e982d6814d8697afd78f019deab1fd988545f6cb.tar.gz
fixes NN_MAXTTL typo in docs for nn_{get|set}sockopt
NN_TTL never existed, we're looking for NN_MAXTTL
-rw-r--r--doc/nn_getsockopt.adoc2
-rw-r--r--doc/nn_setsockopt.adoc2
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/nn_getsockopt.adoc b/doc/nn_getsockopt.adoc
index 0a20a02..c1a7c47 100644
--- a/doc/nn_getsockopt.adoc
+++ b/doc/nn_getsockopt.adoc
@@ -112,7 +112,7 @@ _<nanomsg/nn.h>_ header defines generic socket-level options
Socket name for error reporting and statistics. The type of the option
is string. Default value is "N" where N is socket integer.
*This option is experimental, see <<nn_env#,nn_env(7)>> for details*
-*NN_TTL*::
+*NN_MAXTTL*::
Retrieves the maximum number of "hops" a message can go through before
it is dropped. Each time the message is received (for example via
the <<nn_device#,nn_device(3)>> function) counts as a single hop.
diff --git a/doc/nn_setsockopt.adoc b/doc/nn_setsockopt.adoc
index 5deb41e..3e8aff6 100644
--- a/doc/nn_setsockopt.adoc
+++ b/doc/nn_setsockopt.adoc
@@ -85,7 +85,7 @@ _<nanomsg/nn.h>_ header defines generic socket-level options
Socket name for error reporting and statistics. The type of the option
is string. Default value is "socket.N" where N is socket integer.
*This option is experimental, see <<nn_env#,nn_env(7)>> for details*
-*NN_TTL*::
+*NN_MAXTTL*::
Sets the maximum number of "hops" a message can go through before
it is dropped. Each time the message is received (for example via
the <<nn_device#,nn_device(3)>> function) counts as a single hop.