From: mivirl <> Date: Wed, 7 Feb 2024 16:23:57 +0000 (-0600) Subject: client: Remove packet capture X-Git-Url: http://mivirl.dev/git/?a=commitdiff_plain;h=ccd5c0beb5b4e287e4cceec9056594e64c2cdc28;p=remote-logging.git client: Remove packet capture --- 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();