diff --git a/ui/opensnitch/dialogs/prompt.py b/ui/opensnitch/dialogs/prompt.py index c06e9d68a7..b1f6633f3c 100644 --- a/ui/opensnitch/dialogs/prompt.py +++ b/ui/opensnitch/dialogs/prompt.py @@ -169,10 +169,7 @@ def _configure_default_duration(self): self._duration_combo.setCurrentIndex(7) def _render_connection(self, con): - if self._local: - app_name, app_icon, _ = self._apps_parser.get_info_by_path(con.process_path, "terminal") - else: - app_name, app_icon = "", "terminal" + app_name, app_icon, _ = self._apps_parser.get_info_by_path(con.process_path, "terminal") if app_name == "": app_name = "Unknown process" @@ -191,7 +188,7 @@ def _render_connection(self, con): con.protocol, con.dst_port ) else: - message = "The process %s running on the computer %s is connecting to %s on %s port %d" % ( \ + message = "Remote process %s running on %s is connecting to %s on %s port %d" % ( \ app_name, self._peer.split(':')[1], con.dst_host or con.dst_ip,