From 9e87cf07d61cb793a0ea71af2e1410500c0fd8d9 Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Mon, 20 May 2019 13:44:09 +0200 Subject: service: give indication of socket binding Signed-off-by: Jason A. Donenfeld --- service/ifaceconfig.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'service/ifaceconfig.go') diff --git a/service/ifaceconfig.go b/service/ifaceconfig.go index 115e454e..39eb4b5e 100644 --- a/service/ifaceconfig.go +++ b/service/ifaceconfig.go @@ -49,8 +49,10 @@ func bindSocketRoute(family winipcfg.AddressFamily, device *device.Device, ourLU } *lastLUID = luid if family == windows.AF_INET { + log.Printf("Binding UDPv4 socket to interface %d", index) return device.BindSocketToInterface4(index) } else if family == windows.AF_INET6 { + log.Printf("Binding UDPv6 socket to interface %d", index) return device.BindSocketToInterface6(index) } return nil -- cgit v1.2.3-59-g8ed1b