Skip to content

Commit

Permalink
service: Fix wrong use of wrong enum type in __connman_service_reset_…
Browse files Browse the repository at this point in the history
…ipconfig()

address_updated() takes enum connman_ipconfig_type, not
enum connman_ipconfig_method.

CID 1393449
  • Loading branch information
pmeerw authored and LaakkonenJussi committed Mar 12, 2021
1 parent baa5403 commit 0682b6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion connman/src/service.c
Expand Up @@ -4663,7 +4663,7 @@ int __connman_service_reset_ipconfig(struct connman_service *service,
*new_state = service->state_ipv6;

settings_changed(service, new_ipconfig);
address_updated(service, new_method);
address_updated(service, type);

do_auto_connect(service, CONNMAN_SERVICE_CONNECT_REASON_AUTO);
}
Expand Down

0 comments on commit 0682b6d

Please sign in to comment.