diff options
-rw-r--r-- | gdhcp/ipv4ll.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdhcp/ipv4ll.c b/gdhcp/ipv4ll.c index 007ffe6b..17ab3d59 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); } /** |