status update
Francis Dupont
fdupont at isc.org
Fri Apr 20 00:19:52 UTC 2012
> git clone git://thekelleys.org.uk/dnsmasq.git
=> got it, in dhcp.c make_fd():
if OPT_NOWILD => SO_REUSEADDR (SO_REUSEPORT doesn't exist on Linux)
and some lines after:
memset(&saddr, 0, sizeof(saddr));
saddr.sin_family = AF_INET;
saddr.sin_port = htons(port);
saddr.sin_addr.s_addr = INADDR_ANY;
#ifdef HAVE_SOCKADDR_SA_LEN
saddr.sin_len = sizeof(struct sockaddr_in);
#endif
if (bind(fd, (struct sockaddr *)&saddr, sizeof(struct sockaddr_in)))
Regards
Francis Dupont <fdupont at isc.org>
More information about the sdcpe-devel
mailing list