diff options
author | Christopher Chavez <chrischavez@gmx.us> | 2017-05-01 22:21:59 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-01 22:21:59 -0500 |
commit | 98e30b37e1173bacee67535db8e5637990079df4 (patch) | |
tree | a72ae10ab2a31147d3c8cd152db4a0694f5ce28c /tftpy/TftpClient.py | |
parent | c5a7b52ec818e6c7b8b02f7a88a5a6236e9e56a2 (diff) | |
download | tftpy-98e30b37e1173bacee67535db8e5637990079df4.tar.gz |
TftpClient.py: use UDP port 69 by default
Diffstat (limited to 'tftpy/TftpClient.py')
-rw-r--r-- | tftpy/TftpClient.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tftpy/TftpClient.py b/tftpy/TftpClient.py index 6244051..469c895 100644 --- a/tftpy/TftpClient.py +++ b/tftpy/TftpClient.py @@ -13,7 +13,7 @@ class TftpClient(TftpSession): download can be initiated via the download() method, or an upload via the upload() method.""" - def __init__(self, host, port, options={}, localip = ""): + def __init__(self, host, port=69, options={}, localip = ""): TftpSession.__init__(self) self.context = None self.host = host |