Skip to content
Snippets Groups Projects
Commit e0328446 authored by Fredrik Hübinette (Hubbe)'s avatar Fredrik Hübinette (Hubbe)
Browse files

minor bug-compatibility fix

Rev: lib/modules/Protocols.pmod/DNS.pmod:1.11
parent 7bb3542b
No related branches found
No related tags found
No related merge requests found
......@@ -116,7 +116,7 @@ class protocol
mixed *decode_entries(string s,int num, int *next)
{
string *ret=({});
for(int e=0;e<num;e++)
for(int e=0;e<num && next[0]<strlen(s);e++)
{
mapping m=([]);
m->name=decode_domain(s,next);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment