summaryrefslogtreecommitdiff
path: root/serial
diff options
context:
space:
mode:
Diffstat (limited to 'serial')
-rw-r--r--serial/rfc2217.py2
-rw-r--r--serial/urlhandler/protocol_rfc2217.py2
2 files changed, 2 insertions, 2 deletions
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 <cliechti@gmx.net>