#-----------------------------------------------------------------------
# Copyright (C) 2000-2001, Jean-Sebastien Morisset <jsmoriss@mvlan.net>
#-----------------------------------------------------------------------
# $Id: tribes,v 1.5 2001/12/27 22:53:02 dholmes Exp $
#-----------------------------------------------------------------------
# MODULE CONFIGURATION
#-----------------------------------------------------------------------
#
#n# tribes
#a# accept ports
#t# hosts
#m# 123
#i# cluster novirtual
#v# ports 28000:28020
#
#   |--------------------------------------------------------------------|
#d# Tribes
#d# You probably need to open to any/0, as there are a lot of tribes
#d# servers globally. Some servers also do not use the standard UDP ports
#d# so you may need to revise the ports-[int]-tribes-hosts variable.
#   |--------------------------------------------------------------------|
#
#-----------------------------------------------------------------------
# START OF MODULE CODE
#-----------------------------------------------------------------------

ports="`Option_Value ports $INTOPT tribes hosts`"

for host in `Option_Value accept $INTOPT tribes hosts`
do
	Hostports accept remote udp "Tribes" $host $ports
done

unset ports host
