Branch: Tag:

2000-05-16

2000-05-16 18:33:31 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

now accepts globs in ip arguments

Rev: NT/tools/sprshd:1.19

282:    {    if(object io=accept())    { +  int ok=0;    sscanf(io->query_address(),"%s ",string ip); -  if(search(hosts, ip)==-1) +  foreach(hosts, string host) ok+=glob(host, ip); +  if(!ok)    {    werror("Connection from %s denied!!\n",ip);    destruct(io);