()
| 2861 | } |
| 2862 | |
| 2863 | fn detect_tailscale_ip() -> Option<IpAddr> { |
| 2864 | detect_tailscale_ip_from_cli().or_else(detect_tailscale_ip_from_ifconfig) |
| 2865 | } |
| 2866 | |
| 2867 | fn detect_tailscale_ip_from_cli() -> Option<IpAddr> { |
| 2868 | let output = ProcessCommand::new("tailscale") |
no test coverage detected