Skip to content

Commit

Permalink
fix uninitialized logger on ssdp error
Browse files Browse the repository at this point in the history
  • Loading branch information
tsynik committed May 17, 2022
1 parent 50fb83b commit c9a7627
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dlna/dms/dms.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit c9a7627

Please sign in to comment.