mirror of
https://github.com/tailscale/tailscale.git
synced 2025-02-18 02:48:40 +00:00
safesocket: delete unused function
Signed-off-by: Josh Bleecher Snyder <josharian@gmail.com>
This commit is contained in:
parent
f91c2dfaca
commit
737151ea4a
@ -11,10 +11,6 @@ import (
|
|||||||
"syscall"
|
"syscall"
|
||||||
)
|
)
|
||||||
|
|
||||||
func path(vendor, name string, port uint16) string {
|
|
||||||
return fmt.Sprintf("127.0.0.1:%v", port)
|
|
||||||
}
|
|
||||||
|
|
||||||
func connect(path string, port uint16) (net.Conn, error) {
|
func connect(path string, port uint16) (net.Conn, error) {
|
||||||
pipe, err := net.Dial("tcp", fmt.Sprintf("127.0.0.1:%d", port))
|
pipe, err := net.Dial("tcp", fmt.Sprintf("127.0.0.1:%d", port))
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user