projects
/
Pman.Admin
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a01f9b
)
Iptables.php
author
Alan Knowles
<alan@akbkhome.com>
Fri, 29 Mar 2013 07:52:01 +0000
(15:52 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Fri, 29 Mar 2013 07:52:01 +0000
(15:52 +0800)
Iptables.php
patch
|
blob
|
history
diff --git
a/Iptables.php
b/Iptables.php
index
1b74b6f
..
09bc0a3
100644
(file)
--- a/
Iptables.php
+++ b/
Iptables.php
@@
-223,7
+223,10
@@
class Pman_Admin_Iptables extends Pman {
$lastrulenum = $row['num'];
}
- if (empty($head))
+ if (empty($head)) {
+ // then there was no chain.
+ $this->createBase();
+ }
print_r($old);
//--comment