mirror of
https://github.com/mfontanini/libtins
synced 2026-01-27 12:14:26 +01:00
Added some fixes to the build system. Fixed bugs in DNS and ICMPv6 triggered in big-endian architectures.
This commit is contained in:
@@ -174,7 +174,7 @@ bool DNSResourceRecord::matches(const std::string &dname) const {
|
||||
// OffsetedRecord
|
||||
|
||||
OffsetedDNSRRImpl::OffsetedDNSRRImpl(uint16_t off)
|
||||
: offset_(off | 0xc0)
|
||||
: offset_(off | Endian::host_to_be<uint16_t>(0xc000))
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user