aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--examples/complex/dns_spoofing.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/complex/dns_spoofing.py b/examples/complex/dns_spoofing.py
index c93930f3..1d703537 100644
--- a/examples/complex/dns_spoofing.py
+++ b/examples/complex/dns_spoofing.py
@@ -51,7 +51,7 @@ class Rerouter:
m = parse_host_header.match(self.host_header)
if m:
- host_header = m.group("host").strip("[]")
+ self.host_header = m.group("host").strip("[]")
if m.group("port"):
port = int(m.group("port"))