mirror of
https://github.com/tailscale/tailscale.git
synced 2024-12-01 22:15:51 +00:00
cmd/sniproxy: Set App name in tsnet hostinfo
Updates #1748 Signed-off-by: Denton Gentry <dgentry@tailscale.com>
This commit is contained in:
parent
b3c3a9f174
commit
a82f275619
@ -18,6 +18,7 @@
|
|||||||
"golang.org/x/net/dns/dnsmessage"
|
"golang.org/x/net/dns/dnsmessage"
|
||||||
"inet.af/tcpproxy"
|
"inet.af/tcpproxy"
|
||||||
"tailscale.com/client/tailscale"
|
"tailscale.com/client/tailscale"
|
||||||
|
"tailscale.com/hostinfo"
|
||||||
"tailscale.com/net/netutil"
|
"tailscale.com/net/netutil"
|
||||||
"tailscale.com/tsnet"
|
"tailscale.com/tsnet"
|
||||||
"tailscale.com/types/nettype"
|
"tailscale.com/types/nettype"
|
||||||
@ -36,6 +37,8 @@ func main() {
|
|||||||
log.Fatal("no ports")
|
log.Fatal("no ports")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
hostinfo.SetApp("sniproxy")
|
||||||
|
|
||||||
var s server
|
var s server
|
||||||
defer s.ts.Close()
|
defer s.ts.Close()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user