- Timestamp:
- Dec 7, 2015, 7:15:00 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/sh_portcheck.c
r481 r498 976 976 977 977 } 978 else 979 { 980 if (portchk_debug) 981 { 982 sh_ipvx_ntoa(ipbuf, sizeof(ipbuf), paddr); 983 fprintf(stderr, _("check port_udp: %5d/udp on %15s ERRNO %d\n"), 984 port, ipbuf, errno); 985 } 986 } 978 987 } 979 988 } … … 1429 1438 int retval; 1430 1439 int sock = -1; 1440 #if 0 1431 1441 int flag = 1; /* non-zero to enable an option */ 1432 1442 #endif 1433 1443 struct sockaddr_in addr4; 1434 1444 struct sockaddr_in6 addr6; … … 1475 1485 continue; 1476 1486 } 1487 1488 #if 0 1477 1489 if ( setsockopt(sock, SOL_SOCKET, SO_REUSEADDR, 1478 1490 (void *) &flag, sizeof(flag)) < 0 ) … … 1489 1501 continue; 1490 1502 } 1503 #endif 1491 1504 1492 1505 if (domain == AF_INET)
Note:
See TracChangeset
for help on using the changeset viewer.