projects
/
Pman.Admin
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6854210
)
Iptables.php
author
Alan Knowles
<alan@akbkhome.com>
Fri, 29 Mar 2013 07:44:44 +0000
(15:44 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Fri, 29 Mar 2013 07:44:44 +0000
(15:44 +0800)
Iptables.php
patch
|
blob
|
history
diff --git
a/Iptables.php
b/Iptables.php
index
bde8dd6
..
b4548f0
100644
(file)
--- a/
Iptables.php
+++ b/
Iptables.php
@@
-198,7
+198,7
@@
class Pman_Admin_Iptables extends Pman {
foreach($head as $k=>$v) {
$row[$v] = $ar[$k];
}
-
//
print_r($row);
+ print_r($row);
if ($row['target'] != 'INPUT') {
continue;
@@
-214,6
+214,7
@@
class Pman_Admin_Iptables extends Pman {
$remove[ $row['source'] ] = $row;
}
}
+
$old[ $row['source'] ] = $row;
$lastrulenum = $row['num'];