Revision 84f874bf src/acl/AclManager.cc

View differences:

src/acl/AclManager.cc
225 225
        return -1;
226 226
    }
227 227

  
228
/*
229
    if ( rule->malformed() )
228
    if ( rule->malformed(error_str) )
230 229
    {
230
        oss << "Rule " << rule->to_str() << " is malformed: " << error_str;
231
        error_str = oss.str();
232

  
231 233
        delete rule;
232
        NebulaLog::log("ACL", Log::INFO, "TODO");
233 234
        return -2;
234 235
    }
235
*/
236

  
236 237

  
237 238
    rc = insert(rule);
238 239

  

Also available in: Unified diff