Ticket #12011: multicast.patch

File multicast.patch, 615 bytes (added by steve_g@…, 7 years ago)

Patch for fixing upnp notify messages

  • mythtv/libs/libmythupnp/mmulticastsocketdevice.h

    diff --git a/mythtv/libs/libmythupnp/mmulticastsocketdevice.h b/mythtv/libs/libmythupnp/mmulticastsocketdevice.h
    index 83572d4..f6e17e7 100644
    a b class MMulticastSocketDevice : public MSocketDevice 
    6363    virtual quint16 port() const { return m_port; }
    6464
    6565  private:
    66     QList<QHostAddress> m_local_addresses;
     66    QList<QHostAddress> m_local_addresses = QNetworkInterface::allAddresses();
    6767    QHostAddress        m_address;
    6868    quint16             m_port;
    6969    struct ip_mreq      m_imr;