Message ID | 20231124174025.971512-2-gerickson@nuovations.com (mailing list archive) |
---|---|
State | Not Applicable, archived |
Headers | show |
Series | service: Minor address_updated Changes | expand |
diff --git a/src/service.c b/src/service.c index dd50b81a7e5a..b98ec00f808c 100644 --- a/src/service.c +++ b/src/service.c @@ -2239,7 +2239,7 @@ static void address_updated(struct connman_service *service, enum connman_ipconfig_type type) { if (is_connected(service->state) && - service == connman_service_get_default()) { + connman_service_is_default(service)) { nameserver_remove_all(service, type); nameserver_add_all(service, type); start_online_check(service, type);