diff options
Diffstat (limited to 'src/timeserver.c')
-rw-r--r-- | src/timeserver.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/timeserver.c b/src/timeserver.c index a821e2a1..a5e8e9eb 100644 --- a/src/timeserver.c +++ b/src/timeserver.c @@ -188,7 +188,8 @@ GSList *__connman_timeserver_get_all(struct connman_service *service) network = __connman_service_get_network(service); if (network != NULL) { index = connman_network_get_index(network); - service_gw = __connman_ipconfig_get_gateway_from_index(index); + service_gw = __connman_ipconfig_get_gateway_from_index(index, + CONNMAN_IPCONFIG_TYPE_ALL); /* Then add Service Gateway to the list */ if (service_gw != NULL) |