projects
/
Pman.Admin
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d4c0d61
)
Iptables.php
author
Alan Knowles
<alan@akbkhome.com>
Fri, 29 Mar 2013 07:59:38 +0000
(15:59 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Fri, 29 Mar 2013 07:59:38 +0000
(15:59 +0800)
Iptables.php
patch
|
blob
|
history
diff --git
a/Iptables.php
b/Iptables.php
index
6f8cf61
..
df11c2c
100644
(file)
--- a/
Iptables.php
+++ b/
Iptables.php
@@
-241,6
+241,9
@@
class Pman_Admin_Iptables extends Pman {
$old = isset($cur[$ip]) ? $cur[$ip] : false;
if ($old) {
+ if (empty($old['expires'])) {
+ continue;
+ }
if (strtotime($expires) <= strtotime($old['expires'])) {
// expires time is the same..
//?? make sure it's not flagged for removal..