From 0e7b19e6862cb94d6ec3caf18e2d0c7f54dd7b60 Mon Sep 17 00:00:00 2001
From: ukfnu <ukfnu@student.kit.edu>
Date: Sun, 23 Mar 2025 20:13:20 +0100
Subject: [PATCH] changed back, I broke it

---
 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 bbaf977..63b4762 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 e54fcac..6d918fc 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