adddeny.cc (196B)
1 #include "config" 2 3 void Config::adddeny (string d) { 4 struct in_addr in; 5 if (!inet_aton (d.c_str(), &in)) 6 throw Error("Bad deny-from specfier '" + d + "'"); 7 denylist.push_back (in); 8 }
crossroadsGit mirror of https://crossroads.e-tunity.com/ | |
| git clone git://git.finwo.net/app/crossroads | |
| Log | Files | Refs | LICENSE |