projects
/
Pman.Admin
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ceac7c
)
Iptables.php
author
Alan Knowles
<alan@akbkhome.com>
Fri, 29 Mar 2013 06:35:20 +0000
(14:35 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Fri, 29 Mar 2013 06:35:20 +0000
(14:35 +0800)
Iptables.php
patch
|
blob
|
history
diff --git
a/Iptables.php
b/Iptables.php
index
6dff09c
..
0a9d077
100644
(file)
--- a/
Iptables.php
+++ b/
Iptables.php
@@
-195,7
+195,8
@@
class Pman_Admin_Iptables extends Pman {
}
// remove rules that need deleting..
- foreach($remove as $r) {
+ foreach($remove as $ip => $r) {
+ $this->exec("{$iptables} -d postgres {$r['num']} ");
}