From 2e276464285df6de830844c5b3abbc3dae8d8298 Mon Sep 17 00:00:00 2001 From: Lowell Alleman Date: Wed, 24 Oct 2018 10:25:23 -0400 Subject: Fixed transposed RFC 2217 (was 2271) Updated docs and comments incorrectly referencing 2271 (SNMP). No code change. --- documentation/url_handlers.rst | 2 +- serial/rfc2217.py | 2 +- serial/urlhandler/protocol_rfc2217.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/documentation/url_handlers.rst b/documentation/url_handlers.rst index b4f0da7..5cc1aaa 100644 --- a/documentation/url_handlers.rst +++ b/documentation/url_handlers.rst @@ -48,7 +48,7 @@ Supported options in the URL are: - ``timeout=``: Change network timeout (default 3 seconds). This is useful when the server takes a little more time to send its answers. The - timeout applies to the initial Telnet / :rfc:`2271` negotiation as well + timeout applies to the initial Telnet / :rfc:`2217` negotiation as well as changing port settings or control line change commands. - ``logging={debug|info|warning|error}``: Prints diagnostic messages (not diff --git a/serial/rfc2217.py b/serial/rfc2217.py index d962c1e..c0c3ae3 100644 --- a/serial/rfc2217.py +++ b/serial/rfc2217.py @@ -483,7 +483,7 @@ class Serial(SerialBase): if self.logger: self.logger.info("Negotiated options: {}".format(self._telnet_options)) - # fine, go on, set RFC 2271 specific things + # fine, go on, set RFC 2217 specific things self._reconfigure_port() # all things set up get, now a clean start if not self._dsrdtr: diff --git a/serial/urlhandler/protocol_rfc2217.py b/serial/urlhandler/protocol_rfc2217.py index 8be310f..ebeec3a 100644 --- a/serial/urlhandler/protocol_rfc2217.py +++ b/serial/urlhandler/protocol_rfc2217.py @@ -1,6 +1,6 @@ #! python # -# This is a thin wrapper to load the rfc2271 implementation. +# This is a thin wrapper to load the rfc2217 implementation. # # This file is part of pySerial. https://github.com/pyserial/pyserial # (C) 2011 Chris Liechti -- cgit v1.2.1