Skip to content

Commit

Permalink
#3582 only include interface info with XPRA_FULL_INFO > 1
Browse files Browse the repository at this point in the history
  • Loading branch information
totaam committed Jun 15, 2024
1 parent 0dfc3dc commit 15f5e69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xpra/net/bytestreams.py
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,7 @@ def do_get_socket_info(self, s) -> dict[str, Any]:
info["fileno"] = fd
# ie: self.local = ("192.168.1.7", "14500")
log("do_get_socket_info(%s) fd=%s, local=%s", s, fd, self.local)
if self.local and len(self.local) == 2:
if self.local and len(self.local) == 2 and FULL_INFO > 1:
from xpra.net.net_util import get_interface
iface = get_interface(self.local[0])
# ie: iface = "eth0"
Expand Down

0 comments on commit 15f5e69

Please sign in to comment.