From 558e9d335a287a0ef985544cd583c0722d943c35 Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Wed, 28 Aug 2019 08:22:03 -0600 Subject: manager: fix nits in adapter cleanup logic and also handle ā€˜%sā€™ uniformly MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tunnel/addressconfig.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tunnel') diff --git a/tunnel/addressconfig.go b/tunnel/addressconfig.go index a1e5dc59..643e178e 100644 --- a/tunnel/addressconfig.go +++ b/tunnel/addressconfig.go @@ -50,7 +50,7 @@ func cleanupAddressesOnDisconnectedInterfaces(family winipcfg.AddressFamily, add ip := address.Address.IP() ipnet := net.IPNet{IP: ip, Mask: net.CIDRMask(int(address.OnLinkPrefixLength), 8*len(ip))} if includedInAddresses(ipnet) { - log.Printf("Cleaning up stale address %s from interface '%s'", ipnet.String(), iface.FriendlyName()) + log.Printf("Cleaning up stale address %s from interface ā€˜%sā€™", ipnet.String(), iface.FriendlyName()) iface.LUID.DeleteIPAddress(ipnet) } } -- cgit v1.2.3-59-g8ed1b