From ccd5c0beb5b4e287e4cceec9056594e64c2cdc28 Mon Sep 17 00:00:00 2001 From: mivirl <> Date: Wed, 7 Feb 2024 10:23:57 -0600 Subject: [PATCH] client: Remove packet capture --- src/client.pl | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/client.pl b/src/client.pl index 6999ee6..1f36e24 100644 --- a/src/client.pl +++ b/src/client.pl @@ -286,16 +286,6 @@ sub watch_directory { exit; } -sub capture_packets { - #my ($clientName, $clientKey) = @_; - my $pid = fork; - if ($pid) { - push @child_processes, $pid; - return; - } - my $tcpdump = ns_system('/usr/bin/tcpdump', '-w', '/dev/shm/pcap', '-W', '10', '-G', '60', '-C', '100', '-K', '-n'); - exit; -} send_info(); send_processes(); -- 2.39.5