From c9a7627ea23c8f2ad53fa5148d847bda24c7ec46 Mon Sep 17 00:00:00 2001 From: nikk gitanes Date: Tue, 17 May 2022 07:15:37 +0300 Subject: [PATCH] fix uninitialized logger on ssdp error https://github.com/anacrolix/log/issues/2 --- dlna/dms/dms.go | 1 + 1 file changed, 1 insertion(+) diff --git a/dlna/dms/dms.go b/dlna/dms/dms.go index 4819bbe..5ae3271 100644 --- a/dlna/dms/dms.go +++ b/dlna/dms/dms.go @@ -188,6 +188,7 @@ func (me *Server) ssdpInterface(if_ net.Interface) { Server: serverField, UUID: me.rootDeviceUUID, NotifyInterval: me.NotifyInterval, + Logger: logger, } if err := s.Init(); err != nil { if if_.Flags&ssdpInterfaceFlags != ssdpInterfaceFlags {