Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(83)

Unified Diff: dnsproxy.py

Issue 153503002: Make traffic shaping work when WPR chooses the server ports. (Closed) Base URL: http://web-page-replay.googlecode.com/svn/trunk/
Patch Set: Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | replay.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dnsproxy.py
===================================================================
--- dnsproxy.py (revision 538)
+++ dnsproxy.py (working copy)
@@ -275,6 +275,7 @@
'Unable to bind DNS server on (%s:%s)' % (host, port))
raise
self.dns_lookup = dns_lookup or (lambda host: self.server_address[0])
+ self.server_port = self.server_address[1]
logging.warning('DNS server started on %s:%d', self.server_address[0],
self.server_address[1])
« no previous file with comments | « no previous file | replay.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698