There was an error while loading. Please reload this page.
2 parents 7533a46 + a654c19 commit 6422847Copy full SHA for 6422847
1 file changed
src/mdnsd.c
@@ -153,7 +153,6 @@ static void setup_iface(struct iface *iface)
153
154
mdnsd_set_address(iface->mdns, iface->inaddr);
155
mdnsd_set_ipv6_address(iface->mdns, iface->in6addr);
156
- conf_init(iface, path, hostnm);
157
mdnsd_register_receive_callback(iface->mdns, record_received, NULL);
158
}
159
@@ -167,6 +166,10 @@ static void setup_iface(struct iface *iface)
167
166
168
169
+
170
+ records_clear(iface->mdns);
171
+ conf_init(iface, path, hostnm);
172
173
iface->changed = 0;
174
175
0 commit comments