crossroads

Git mirror of https://crossroads.e-tunity.com/
git clone git://git.finwo.net/app/crossroads
Log | Files | Refs | LICENSE

addallow.cc (199B)


      1 #include "config"
      2 
      3 void Config::addallow (string a) {
      4     struct in_addr in;
      5     if (!inet_aton (a.c_str(), &in))
      6 	throw Error("Bad allow-from specfier '" + a + "'");
      7     allowlist.push_back (in);
      8 }