fix: rename database insert fields for consistency and clarity
All checks were successful
Build and Deploy MITM Webserver / build (push) Successful in 7s
All checks were successful
Build and Deploy MITM Webserver / build (push) Successful in 7s
This commit is contained in:
@@ -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"),
|
||||
|
||||
Reference in New Issue
Block a user