projects
/
Pman.Admin
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
32d498c
)
Iptables.php
author
Alan Knowles
<alan@akbkhome.com>
Fri, 29 Mar 2013 06:46:58 +0000
(14:46 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Fri, 29 Mar 2013 06:46:58 +0000
(14:46 +0800)
Iptables.php
patch
|
blob
|
history
diff --git
a/Iptables.php
b/Iptables.php
index
7766071
..
0d4f459
100644
(file)
--- a/
Iptables.php
+++ b/
Iptables.php
@@
-155,8
+155,11
@@
class Pman_Admin_Iptables extends Pman {
// /sbin/iptables -L postgres -v -n --line-numbers
- $res = $this->exec("{$iptables} -L postgres -v -n --line-numbers");
// create new..
+ $res = $this->exec("{$iptables} -L postgres -v -n --line-numbers");
+ foreach(explode("\n", $res) as $line) {
+
+ }
//--comment