projects
/
Pman.Admin
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
05b9737
)
Iptables.php
author
Alan Knowles
<alan@akbkhome.com>
Fri, 29 Mar 2013 07:21:04 +0000
(15:21 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Fri, 29 Mar 2013 07:21:04 +0000
(15:21 +0800)
Iptables.php
patch
|
blob
|
history
diff --git
a/Iptables.php
b/Iptables.php
index
bfb918a
..
2d2db5e
100644
(file)
--- a/
Iptables.php
+++ b/
Iptables.php
@@
-161,6
+161,8
@@
class Pman_Admin_Iptables extends Pman {
$res = $this->exec("{$iptables} -L postgres -v -n --line-numbers");
+ $lastrulenum = 1;
+
$remove = array();
foreach(explode("\n", $res) as $i => $line) {