mirror of
https://github.com/tailscale/tailscale.git
synced 2025-08-11 05:07:33 +00:00
go.mod: bump github.com/mdlayher/netlink to v1.2.0
Signed-off-by: Matt Layher <mdlayher@gmail.com>
This commit is contained in:

committed by
Brad Fitzpatrick

parent
80c94168ae
commit
bfbd6b9241
@@ -52,10 +52,7 @@ func newOSMon(logf logger.Logf) (osMon, error) {
|
||||
return &nlConn{logf: logf, conn: conn}, nil
|
||||
}
|
||||
|
||||
func (c *nlConn) Close() error {
|
||||
c.conn.SetDeadline(time.Unix(0, 0)) // abort any Receive in flight
|
||||
return c.conn.Close()
|
||||
}
|
||||
func (c *nlConn) Close() error { return c.conn.Close() }
|
||||
|
||||
func (c *nlConn) Receive() (message, error) {
|
||||
if len(c.buffered) == 0 {
|
||||
|
Reference in New Issue
Block a user