mirror of
https://github.com/open62541/open62541.git
synced 2026-10-17 04:42:09 +08:00
a8930fd50a
Separate mDNS related code from discovery module to enable easier integration of different mDNS implementations. Add new API functions and make other functions static to reflect their use in the mDNS module only. The libmdnsd implementation uses an ip entry for the server and selects the interface to be used for establishing the connection. This is not required for avahi as the avahi daemon is normally configured externally. Make the server configuration of the mDNS IP list and the interface dependent on the use of libmdnsd. Signed-off-by: Vasilij Strassheim <vasilij.strassheim@linutronix.de>