From c096d6401911151d1bef6a8e04007577a7ca4847 Mon Sep 17 00:00:00 2001
From: ukfnu <ukfnu@student.kit.edu>
Date: Sun, 23 Mar 2025 20:08:26 +0100
Subject: [PATCH] changed database location

---
 code/package_capture/src/packet_capturing.py       | 2 +-
 code/package_capture/test/test_packet_capturing.py | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/code/package_capture/src/packet_capturing.py b/code/package_capture/src/packet_capturing.py
index 63b4762..bbaf977 100644
--- a/code/package_capture/src/packet_capturing.py
+++ b/code/package_capture/src/packet_capturing.py
@@ -12,7 +12,7 @@ import sys
 sys.stdout.reconfigure(line_buffering=True)
 
 ## Database ##
-connection = duckdb.connect('../../packets_data.duckdb')
+connection = duckdb.connect('../../../packets_data.duckdb')
 ##############
 
 ## Reserved IPs ##
diff --git a/code/package_capture/test/test_packet_capturing.py b/code/package_capture/test/test_packet_capturing.py
index 6d918fc..e54fcac 100644
--- a/code/package_capture/test/test_packet_capturing.py
+++ b/code/package_capture/test/test_packet_capturing.py
@@ -16,7 +16,7 @@ from packet_capturing import packet_handler, get_dicts, dict_clear, ip_rate_base
     syn_fin, null_packet, tcp_reset_attack, arp_spoofing, dns_spoofing, checksum_verification, payload_pattern_matching, \
     content_length_mismatch, malformed_check, icmp_flood_detection, reserved_ips, protocol_fragmentation_check
 
-connection = duckdb.connect('../../packets_data.duckdb')
+connection = duckdb.connect('../../../packets_data.duckdb')
 
 class TestPacketCapturing(unittest.TestCase):
 
-- 
GitLab