---
 gdhcp/ipv4ll.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gdhcp/ipv4ll.c b/gdhcp/ipv4ll.c
index 007ffe6..17ab3d5 100644
--- a/gdhcp/ipv4ll.c
+++ b/gdhcp/ipv4ll.c
@@ -53,7 +53,7 @@ uint32_t ipv4ll_random_ip(int seed)
                tmp = rand();
                tmp = tmp & IN_CLASSB_HOST;
        } while (tmp > (IN_CLASSB_HOST - 0x0200));
-       return ntohl(((LINKLOCAL_ADDR + 0x0100) + tmp));
+       return ((LINKLOCAL_ADDR + 0x0100) + tmp);
 }
 
 /**
-- 
1.7.11.4

_______________________________________________
connman mailing list
connman@connman.net
http://lists.connman.net/listinfo/connman

Reply via email to