mirror of
https://github.com/mfontanini/libtins
synced 2026-01-25 19:51:34 +01:00
Fixed endianess issues in several classes. Everything is working on big endian architectures so far.
This commit is contained in:
@@ -198,7 +198,6 @@ TEST_F(DNSTest, Answers) {
|
||||
|
||||
DNS::resources_type resources(dns.dns_answers());
|
||||
for(DNS::resources_type::const_iterator it = resources.begin(); it != resources.end(); ++it) {
|
||||
std::cout << it->dname << "\n";
|
||||
EXPECT_TRUE(it->dname == "www.example.com" || it->dname == "www.example2.com");
|
||||
if(it->dname == "www.example.com") {
|
||||
EXPECT_EQ(it->type, DNS::A);
|
||||
|
||||
Reference in New Issue
Block a user