Skip to content

Commit

Permalink
log listening port over UDP
Browse files Browse the repository at this point in the history
  • Loading branch information
breakwa11 committed Jul 27, 2016
1 parent 0213e78 commit f0d6a5b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions shadowsocks/udprelay.py
Original file line number Diff line number Diff line change
Expand Up @@ -1111,9 +1111,9 @@ def _handle_server(self):

logging.debug('UDP port %5d sockets %d' % (self._listen_port, len(self._sockets)))

common.connect_log('UDP data to %s:%d from %s:%d' %
common.connect_log('UDP data to %s:%d via port %d' %
(common.to_str(server_addr), server_port,
r_addr[0], r_addr[1]))
self._listen_port))

self._cache.clear(self._udp_cache_size)
self._cache_dns_client.clear(16)
Expand Down

0 comments on commit f0d6a5b

Please sign in to comment.