Build fails when system deos not have USE_PKTINFO
The networking swiss army knife
Status: Beta
Brought to you by:
themnemonic
gnu-netcat.1.338\src\netcore.c 2015-12-04 16:06:06.000000000 -0500
gnu-netcat.1.339\src\netcore.c 2015-12-04 16:06:06.000000000 -0500
@@ -90,13 +90,13 @@
debug_v(("core_udp_listen(ncsock=%p)", (void *)ncsock));
#ifdef USE_PKTINFO
need_udphelper = FALSE;
#else
/ if we need a specified source address then go straight to it /
- if (ncsock->local_host.iaddrs[0].s_addr)
+ if (ncsock->local.host.iaddrs[0].s_addr)
need_udphelper = FALSE;
#endif
if (!need_udphelper) {
/ simulates a udphelper_sockets_open() call /
sockbuf = calloc(2, sizeof(int));