Iptables.php
authorAlan Knowles <alan@akbkhome.com>
Sat, 30 Mar 2013 01:33:26 +0000 (09:33 +0800)
committerAlan Knowles <alan@akbkhome.com>
Sat, 30 Mar 2013 01:33:26 +0000 (09:33 +0800)
Iptables.php

index f197123..f68bafc 100644 (file)
@@ -321,7 +321,7 @@ class Pman_Admin_Iptables extends Pman {
         
         // remove rules that need deleting..
         foreach($remove as $ip => $r) {
-            $this->exec("{$iptables} -d postgres {$r['num']} ");
+            $this->exec("{$iptables} -D postgres {$r['num']} ");
             
         }