diff options
author | Chris Johns <chrisj@rtems.org> | 2020-09-25 11:22:34 +1000 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2020-09-26 10:49:27 +1000 |
commit | 87262b429d633420402e735a770f6d6cfedecf9a (patch) | |
tree | 6c9ee3464198f2d307b127d41060657565d2d34b /misc/tools/tftpproxy.py | |
parent | linkers: Update due to API changes (diff) | |
download | rtems-tools-87262b429d633420402e735a770f6d6cfedecf9a.tar.bz2 |
Move all python commands to use env python
- If you host does not provide a python command consult the User
manual for ways you can run the python commands.
- Full package paths are being used to avoid namespace pollution and
crosstalk.
Diffstat (limited to 'misc/tools/tftpproxy.py')
-rw-r--r-- | misc/tools/tftpproxy.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/misc/tools/tftpproxy.py b/misc/tools/tftpproxy.py index a815584..c0aebb0 100644 --- a/misc/tools/tftpproxy.py +++ b/misc/tools/tftpproxy.py @@ -1,5 +1,5 @@ # -# Copyright 2019 Chris Johns (chris@contemporary.software) +# Copyright 2019, 2020 Chris Johns (chris@contemporary.software) # All rights reserved. # # Permission to use, copy, modify, and/or distribute this software for any @@ -39,7 +39,7 @@ from rtemstoolkit import error from rtemstoolkit import log from rtemstoolkit import version -import getmac +import misc.tools.getmac def host_port_split(ip_port): ips = ip_port.split(':') @@ -226,7 +226,7 @@ class udp_handler(socketserver.BaseRequestHandler): client, host)) else: - mac = getmac.get_mac_address(ip = client_ip) + mac = misc.tools.getmac.get_mac_address(ip = client_ip) log.trace(' . request: host not found: %s (%s)' % (client, mac)) class udp_server(socketserver.ThreadingMixIn, socketserver.UDPServer): |