DA: Add exception check for time logic
[platform/upstream/connman.git] / src / bridge.c
index ba20096..df19a6a 100755 (executable)
@@ -56,7 +56,7 @@ static int set_forward_delay(const char *name, unsigned int delay)
        if (!f)
                return -errno;
 
-       fprintf(f, "%d", delay);
+       fprintf(f, "%u", delay);
 
        fclose(f);
 
@@ -122,7 +122,8 @@ int __connman_bridge_enable(const char *name, const char *ip_address,
 
        err = __connman_inet_modify_address(RTM_NEWADDR,
                                NLM_F_REPLACE | NLM_F_ACK, index, AF_INET,
-                               ip_address, NULL, prefix_len, broadcast);
+                               ip_address, NULL, prefix_len, broadcast,
+                               false);
        if (err < 0)
                return err;