HomeFreeBSD

dns/powerdns: fix build on big-endian

Description

dns/powerdns: fix build on big-endian

dnsproxy.cc:245:9: error: use of undeclared identifier 'd'

d.id = (256 * (uint16_t)buffer[1]) + (uint16_t)buffer[0];
^

Details

Provenance
pkubajAuthored on May 9 2024, 2:03 PM
Parents
R11:d25876c3fb5f: net/widentd: fix build on ARM / POWER
Branches
Unknown
Tags
Unknown