|
|
@ -2858,10 +2858,11 @@ function openim::util::find_process_ports() {
|
|
|
|
local port_protocol=($line)
|
|
|
|
local port_protocol=($line)
|
|
|
|
local port=${port_protocol[0]##*:}
|
|
|
|
local port=${port_protocol[0]##*:}
|
|
|
|
local protocol=${port_protocol[1]}
|
|
|
|
local protocol=${port_protocol[1]}
|
|
|
|
protocol_ports=$protocol_ports "" $protocol" "$port
|
|
|
|
protocol_ports="${protocol_ports}${protocol} ${port}, "
|
|
|
|
echo "Process $process_path is listening on port $port with protocol $protocol"
|
|
|
|
echo "Process $process_path is listening on port $port with protocol $protocol"
|
|
|
|
done
|
|
|
|
done
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
protocol_ports=${protocol_ports%, }
|
|
|
|
echo echo "Process $process_path is listening on protocol & port $protocol_ports "
|
|
|
|
echo echo "Process $process_path is listening on protocol & port $protocol_ports "
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|