---
src/dhcp.c | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/src/dhcp.c b/src/dhcp.c
index c1dc5ec..246de30 100644
--- a/src/dhcp.c
+++ b/src/dhcp.c
@@ -353,11 +353,9 @@ static void lease_available_cb(GDHCPClient *dhcp_client,
gpointer user_data)
DBG("c_address %s", c_address);
- if (address && c_address &&
- g_strcmp0(address, c_address) != 0)
+ if (address && c_address && g_strcmp0(address, c_address) != 0)
ip_change = true;
- else if (gateway && c_gateway &&
- g_strcmp0(gateway, c_gateway) != 0)
+ else if (gateway && c_gateway && g_strcmp0(gateway, c_gateway) != 0)
ip_change = true;
else if (prefixlen != c_prefixlen)
ip_change = true;
--
1.8.3.1
_______________________________________________
connman mailing list
[email protected]
https://lists.connman.net/mailman/listinfo/connman