Re: ? "SO_BROADCAST: Fix your netatalk..." in kernel > 2.1.46

Alan Cox (alan@lxorguk.ukuu.org.uk)
Tue, 29 Jul 1997 19:42:54 +0100 (BST)


> Jul 24 12:31:48 sanderson kernel: SO_BROADCAST: Fix your netatalk as it
> will break before 2.2
> Jul 24 12:31:48 sanderson atalkd[101]: zip gnireply from 53300.70 (eth0
> 12)
>
> As I understands it. It is something in the kernel and netatalk (ver
> 1.4b2) or the configuration of netatalk that do not match.

UMich netatalk doesn't set SO_BROADCAST on sockets that broadcast. If we want
2.2 to meet POSIX 1003.1g we should be enforcing this rule. Someone needs to
put a few

int one=1;
setsockopt(some_sock_fd, SOL_SOCKET, SO_BROADCAST,&one,sizeof(one));

calls into the atalkd for its broadcast stuff