From 17382b963e22de8cb395a99e529b256e03d440ce Mon Sep 17 00:00:00 2001 From: Maximilian Hils Date: Sun, 29 May 2016 01:23:39 -0700 Subject: format examples --- examples/dns_spoofing.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'examples/dns_spoofing.py') diff --git a/examples/dns_spoofing.py b/examples/dns_spoofing.py index 7eb79695..8d715f33 100644 --- a/examples/dns_spoofing.py +++ b/examples/dns_spoofing.py @@ -22,7 +22,6 @@ Usage: """ import re - # This regex extracts splits the host header into host and port. # Handles the edge case of IPv6 addresses containing colons. # https://bugzilla.mozilla.org/show_bug.cgi?id=45891 @@ -47,4 +46,4 @@ def request(context, flow): port = int(m.group("port")) flow.request.host = sni or host_header - flow.request.port = port \ No newline at end of file + flow.request.port = port -- cgit v1.2.3