Can't bind to given address

Pål Baltzersen <[email protected]> Fri, 18 Jul 2003 22:15:07 +0200
Newsgroups gmane.network.xinetd
Message-ID <[email protected]>
I have:
xinetd-2.3.11
SunOS relay1 5.8 Generic_108528-22 sun4u sparc SUNW,UltraSPARC-IIi-cEngine
gcc version 3.3

The log sais:
Jul 18 22:06:39 relay1 xinetd[3640]: [ID 385394 daemon.error] no addresses 
returned [line=4]
Jul 18 22:06:39 relay1 xinetd[3640]: [ID 385394 daemon.error] Error parsing 
attribute bind - DISABLING SERVICE [line=4]
Jul 18 22:06:39 relay1 xinetd[3640]: [ID 385394 daemon.error] no addresses 
returned [line=17]
Jul 18 22:06:39 relay1 xinetd[3640]: [ID 385394 daemon.error] Error parsing 
attribute bind - DISABLING SERVICE [line=17]
Jul 18 22:06:39 relay1 xinetd[3640]: [ID 385394 daemon.debug] removing tftp
Jul 18 22:06:39 relay1 last message repeated 1 time
Jul 18 22:06:39 relay1 xinetd[3640]: [ID 385394 daemon.crit] 3640 
{init_services} no services. Exiting...

The config is:
service tftp
{
	flags			= IPv4
	bind			= 100.152.20.41
	socket_type		= dgram
	protocol		= udp
	wait			= yes
	user			= root
	group			= root
	server			= /usr/sbin/in.tftpd
	server_args		= -s /var/spool/tftp
	only_from		= 127.0.0.1/32 100.152.20.0/22 100.152.40.0/22 171.23.0.0/16
}
service tftp
{
	flags			= IPv4
	bind			= 100.152.23.41
	socket_type		= dgram
	protocol		= udp
	wait			= yes
	user			= root
	group			= root
	server			= /usr/sbin/in.tftpd
	server_args		= -s /var/spool/tftp
	only_from		= 127.0.0.1/32 100.152.20.0/22 100.152.40.0/22 171.23.0.0/16
}

Xinetd works without 'bind', but tftpd sends replies with wrong source address 
so I need to bind.

Help apreciated.

Pål.