[][src]Function tailscale::interface

pub fn interface() -> Option<IpAddr>

Retrieve the IP address of the current machine's Tailscale interface, if any.

let iface = tailscale::interface().expect("no tailscale interface found");