fix: update database insertion query to use correct table name for packet logging
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:
@@ -68,7 +68,7 @@ async def db_insert_packet(pkt_info: dict):
|
|||||||
try:
|
try:
|
||||||
conn = await asyncpg.connect(DB_DSN)
|
conn = await asyncpg.connect(DB_DSN)
|
||||||
await conn.execute("""
|
await conn.execute("""
|
||||||
INSERT INTO packet_log(
|
INSERT INTO packets(
|
||||||
interface_ingress,
|
interface_ingress,
|
||||||
interfaces_egress,
|
interfaces_egress,
|
||||||
src_mac, dst_mac, eth_type,
|
src_mac, dst_mac, eth_type,
|
||||||
|
|||||||
Reference in New Issue
Block a user