summaryrefslogtreecommitdiffstats
path: root/Demo/dns
diff options
context:
space:
mode:
Diffstat (limited to 'Demo/dns')
-rwxr-xr-xDemo/dns/dnslib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Demo/dns/dnslib.py b/Demo/dns/dnslib.py
index bf4c6cc..4e1fb87 100755
--- a/Demo/dns/dnslib.py
+++ b/Demo/dns/dnslib.py
@@ -101,7 +101,7 @@ class Packer:
label = list[j]
n = len(label)
if offset + len(buf) < 0x3FFF:
- index.append(keys[j], offset + len(buf))
+ index.append( (keys[j], offset + len(buf)) )
else:
print 'dnslib.Packer.addname:',
print 'warning: pointer too big'