#3 fix issue with topdomain. Also make sure ping packet is type NULL

This commit is contained in:
Erik Ekman
2007-02-04 23:08:09 +00:00
parent 46d3053540
commit da636b1f47
5 changed files with 12 additions and 28 deletions

View File

@@ -159,7 +159,6 @@ START_TEST(test_decode_query)
q.id = 0;
len = sizeof(queryPacket) - 1;
dns_set_topdomain("kryo.se");
ret = dns_decode(buf, sizeof(buf), &q, QR_QUERY, queryPacket, len);
fail_unless(strncmp(buf, recData, ret) == 0, "Did not extract expected host: '%s'", buf);