projects
/
Pman.Admin
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b148871
)
Iptables.php
author
Alan Knowles
<alan@akbkhome.com>
Fri, 29 Mar 2013 07:29:39 +0000
(15:29 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Fri, 29 Mar 2013 07:29:39 +0000
(15:29 +0800)
Iptables.php
patch
|
blob
|
history
diff --git
a/Iptables.php
b/Iptables.php
index
4a8e1f0
..
1558ffa
100644
(file)
--- a/
Iptables.php
+++ b/
Iptables.php
@@
-113,8
+113,8
@@
class Pman_Admin_Iptables extends Pman {
");
$e->person_table = DB_DataObject::factory('person')->tableName();
$e->whereAddIn('person_id', $peps, 'int');
- $e->groupBy('
event_when
');
-
$e->whereAdd("event_when > NOW() - $interval");
+ $e->groupBy('
ipaddr
');
+ $e->whereAdd("event_when > NOW() - $interval");
$ips = $e->fetchAll('ipaddr');