Changed UDP server commands to match those of the Windows agent.
This commit is contained in:
parent
51cf261d72
commit
bf78b13110
|
@ -1790,7 +1790,7 @@ sub udp_server ($$) {
|
|||
log_message ('udp server', 'Received signal from '.$hishost);
|
||||
kill 'SIGINT' , $parent_pid;
|
||||
}
|
||||
elsif ($newmsg =~ /PROCESS START (.*)/){
|
||||
elsif ($newmsg =~ /START PROCESS (.*)/){
|
||||
my $process_name = $1;
|
||||
$process_name =~ s/^\s*//g;
|
||||
$process_name =~ s/\s*$//g;
|
||||
|
@ -1804,7 +1804,7 @@ sub udp_server ($$) {
|
|||
log_message ('udp server', "Attempt to start unknown process $process_name from $hishost");
|
||||
}
|
||||
}
|
||||
elsif ($newmsg =~ /PROCESS STOP (.*)/){
|
||||
elsif ($newmsg =~ /STOP PROCESS (.*)/){
|
||||
my $process_name = $1;
|
||||
$process_name =~ s/^\s*//g;
|
||||
$process_name =~ s/\s*$//g;
|
||||
|
|
Loading…
Reference in New Issue