
#-----------------------------------------------------------------------
# MODULE CONFIGURATION
#-----------------------------------------------------------------------
#
#m# 123
#a# accept ports
#i# cluster
#n# icqdirect
#t# clients
#v# ports 4020:4030
#
#   |--------------------------------------------------------------------|
#d# Accept direct ICQ connections (and file transfers) from these hosts
#d# and ports. You must also configure your ICQ client with this same port
#d# range.
#   |--------------------------------------------------------------------|
#
#-----------------------------------------------------------------------
# START OF MODULE CODE
#-----------------------------------------------------------------------

for host in `Option_Value accept $INTOPT icqdirect clients`
do
	for port in `Option_Value ports $INTOPT icqdirect clients`
	do
		Hostports accept local tcp "ICQ" $host $port
	done
done
unset host port

