keepsimple1 / mdns-sd

Rust library for mDNS based Service Discovery
Apache License 2.0
102 stars 39 forks source link

register service: apply interface selection for auto IP addr #262

Closed keepsimple1 closed 1 month ago

keepsimple1 commented 1 month ago

From the logs in this discussion, it seems that we are not apply interface selections for IP address when registering a service using addr_auto. The interface selection was only applied for interface monitoring & polling.

This patch is to fix that. To test it, I added a new option --disable-ipv6 to the sample program register.