test2
All checks were successful
Build and Deploy MITM Webserver / build (push) Successful in 8s

This commit is contained in:
2026-01-10 21:37:26 +01:00
parent a15c36242d
commit b3ad412091

View File

@@ -18,7 +18,7 @@ import uuid
from enum import Enum
# pyroute2 nftables
from pyroute2 import nftables
from pyroute2.nftables import NFTables
router = APIRouter()
logger = logging.getLogger("nftables")
@@ -89,7 +89,7 @@ class ReplaceResult(BaseModel):
# ---------------------- nft wrapper ----------------------
class NFT:
def __init__(self):
self.nft = nftables.main.NFTables()
self.nft = NFTables()
def run(self, cmd: str) -> Dict[str, Any]:
"""