Przeglądaj źródła

Set rtime value for iptables from a service above to not display 0.

Raphael Schneeberger 6 lat temu
rodzic
commit
873d20ce64
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      bin/v-list-sys-services

+ 1 - 1
bin/v-list-sys-services

@@ -271,7 +271,7 @@ if [ ! -z "$FIREWALL_SYSTEM" ] && [ "$FIREWALL_SYSTEM" != 'remote' ]; then
         state="running"
     fi
     data="$data\nNAME='$FIREWALL_SYSTEM' SYSTEM='firewall'"
-    data="$data STATE='$state' CPU='0' MEM='0' RTIME='0'"
+    data="$data STATE='$state' CPU='0' MEM='0' RTIME='$rtime'"
 fi
 
 # Checking FIREWALL Fail2ban extention