diff options
Diffstat (limited to 'service/ipc_server.go')
-rw-r--r-- | service/ipc_server.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/service/ipc_server.go b/service/ipc_server.go index 17ea67c2..079dc85c 100644 --- a/service/ipc_server.go +++ b/service/ipc_server.go @@ -11,6 +11,7 @@ import ( "github.com/Microsoft/go-winio" "golang.org/x/sys/windows/svc" "golang.zx2c4.com/wireguard/windows/conf" + "golang.zx2c4.com/wireguard/windows/ringlogger" "io/ioutil" "net/rpc" "os" @@ -206,6 +207,11 @@ func (s *ManagerService) Quit(stopTunnelsOnQuit bool, alreadyQuit *bool) error { return nil } +func (s *ManagerService) LogFilePath(unused uintptr, filepath *string) error { + *filepath = ringlogger.Global.Filename() + return nil +} + func IPCServerListen(reader *os.File, writer *os.File, events *os.File) error { service := &ManagerService{events: events} |