[nsd-users] NSD 4.1.8rc1 prerelease

Paul Wouters paul at nohats.ca
Thu Mar 3 02:59:00 UTC 2016


On Wed, 2 Mar 2016, W.C.A. Wijngaards wrote:


> NSD 4.1.8rc1 release candidate 1 prerelease is available:

seems to work, running on ns0.nohats.ca now.

Note the following warnings:

rl.c: In function 'rrl_get_source':
rrl.c:128:15: warning: dereferencing type-punned pointer will break
strict-aliasing rules [-Wstrict-aliasing]
   if( ((struct sockaddr_in*)&query->addr)->sin_family == AF_INET) {
                ^~~~~~~~~~~
rrl.c:131:4: warning: dereferencing type-punned pointer will break
strict-aliasing rules [-Wstrict-aliasing]
     sin_addr.s_addr & htonl(0xffffffff << (32-rrl_ipv4_prefixlen));
     ^~~~~~~~
rrl.c:135:25: warning: dereferencing type-punned pointer will break
strict-aliasing rules [-Wstrict-aliasing]
    memmove(&s, &((struct sockaddr_in6*)&query->addr)->sin6_addr,
                          ^~~~~~~~~~~~

ipc.c: In function 'child_handle_parent_command':
ipc.c:85:3: warning: ignoring return value of 'write', declared with
attribute warn_unused_result [-Wunused-result]
    (void)write(fd, &mode, sizeof(mode));
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~




More information about the nsd-users mailing list