projects
/
Pman.Admin
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ccdb9b3
)
Iptables.php
author
Alan Knowles
<alan@akbkhome.com>
Fri, 29 Mar 2013 07:52:36 +0000
(15:52 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Fri, 29 Mar 2013 07:52:36 +0000
(15:52 +0800)
Iptables.php
patch
|
blob
|
history
diff --git
a/Iptables.php
b/Iptables.php
index
089afc9
..
5d1600e
100644
(file)
--- a/
Iptables.php
+++ b/
Iptables.php
@@
-286,7
+286,9
@@
class Pman_Admin_Iptables extends Pman {
- $this->exec("{$iptables} -F postgres"); // flush old
+ //$this->exec("{$iptables} -F postgres"); // flush old
+ $this->exec("{$iptables} -X postgres"); // flush old
+
$this->exec("{$iptables} -N postgres"); // create new..
$this->exec($iptables. ' -A postgres -m limit --limit 2/min -j LOG '.