瀏覽代碼

fix typpo in chain order message

vicente 1 年之前
父節點
當前提交
eb91d9905b
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      data/Dockerfiles/netfilter/modules/NFTables.py

+ 1 - 0
data/Dockerfiles/netfilter/modules/NFTables.py

@@ -41,6 +41,7 @@ class NFTables:
         exit_code = 2
 
       if chain_position > 0:
+        chain_position += 1
         self.logger.logCrit(f'MAILCOW target is in position {chain_position} in the {filter_table} {chain} table, restarting container to fix it...')
         err = True
         exit_code = 2