alex-spataru / qMDNS

Implementation of a simple mDNS responder with Qt
MIT License
24 stars 7 forks source link

Rebind sockets on interface changes #6

Closed milkey-mouse closed 4 years ago

milkey-mouse commented 4 years ago

This fixes the qmdns-responder added in #3 for devices with multiple hotpluggable interfaces. For more detail, see reMarkable/qMDNS#1.

Ignore the huge diff; that's just because I normalized the line endings (helpful on Linux). Feel free to cherry-pick the last two commits if you don't want that. The real changes are in https://github.com/reMarkable/qMDNS/commit/dcf386bf600d40fa363ce8e9052f970528da1f0f and https://github.com/reMarkable/qMDNS/commit/9b7d39ec9719ff9df547f784c07e5e6aa86d600a.

alex-spataru commented 4 years ago

Thanks, merging!