fix: rename database insert fields for consistency and clarity
All checks were successful
Build and Deploy MITM Webserver / build (push) Successful in 7s

This commit is contained in:
2025-11-27 17:41:41 +01:00
parent dba0c5b398
commit 5214f1a1a4

View File

@@ -159,16 +159,16 @@ async def _db_insert_packet_coroutine(pkt_info: dict):
async with pool.acquire() as conn:
await conn.execute(f"""
INSERT INTO {TABLE_NAME}(
interface,
iface,
direction,
src_mac,
dst_mac,
eth_type,
src_ip,
dst_ip,
ip_protocol,
packet_len,
raw_packet
protocol,
length,
raw
) VALUES($1,$2,$3,$4,$5,$6,$7,$8,$9,$10)
""",
pkt_info.get("ingress"),