pud: fix GCC 6 warnings
authorFerry Huberts <ferry.huberts@pelagic.nl>
Tue, 23 Feb 2016 18:51:50 +0000 (19:51 +0100)
committerFerry Huberts <ferry.huberts@pelagic.nl>
Thu, 25 Feb 2016 12:39:33 +0000 (13:39 +0100)
commit3143ea7971cbaf227cf1713d2e0884ef7531d83b
tree426022ed358020e4443193896ce2da0133191a7f
parent8a949a4544e2c63e7b66c8c50817e728f21024b6
pud: fix GCC 6 warnings

src/netTools.c: In function ‘getIPv4Address’:
src/netTools.c:96:55: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
  return &((struct sockaddr_in *)(void *) &ifr->ifr_addr)->sin_addr;
                                                       ^

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
lib/pud/src/netTools.c