X-Git-Url: http://git.roojs.org/?p=Pman.Admin;a=blobdiff_plain;f=Iptables.php;h=a88c246b175c8d0d0caeaf2e70877ec0e942b897;hp=6d672cdc7568bd1badfb3a39c8dbfdb173285ecc;hb=HEAD;hpb=5e30d63d9e80f227af5d4797e060ca69bafc6184 diff --git a/Iptables.php b/Iptables.php index 6d672cd..a88c246 100644 --- a/Iptables.php +++ b/Iptables.php @@ -47,7 +47,7 @@ class Pman_Admin_Iptables extends Pman { return '/tmp/run_pman_admin_iptables-'.$db; } - function get($opt = '') + function get($opt = '', $opts = Array()) { // monitor file @@ -114,7 +114,7 @@ class Pman_Admin_Iptables extends Pman { max(event_when) + $interval as expires "); - $e->person_table = DB_DataObject::factory('person')->tableName(); + $e->person_table = DB_DataObject::factory('core_person')->tableName(); $e->whereAddIn('person_id', $peps, 'int'); $e->groupBy('ipaddr'); $e->whereAdd("event_when > NOW() - $interval");