Return to rc CVS log | Up to [local] / src / etc |
version 1.390, 2011/07/20 09:56:00 | version 1.391, 2011/07/20 10:00:13 | ||
---|---|---|---|
|
|
||
{ | { | ||
# Variables are local | # Variables are local | ||
while IFS=" /" read _name _port _srv _junk; do | while IFS=" /" read _name _port _srv _junk; do | ||
[ "x${_srv}" = "x${_service}" ] || continue; | [ "x${_srv}" = "x${_service}" ] || continue | ||
_ban="${_ban:+${_ban},}+${_port}" | _ban="${_ban:+${_ban},}+${_port}" | ||
# Flush before argv gets too long | # Flush before argv gets too long | ||
if [ ${#_ban} -gt 1024 ]; then | if [ ${#_ban} -gt 1024 ]; then |