diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/core/loopback-setup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/loopback-setup.c b/src/core/loopback-setup.c index 98fc04dd2e..ab6335c0ce 100644 --- a/src/core/loopback-setup.c +++ b/src/core/loopback-setup.c @@ -64,7 +64,7 @@ static int check_loopback(void) { struct sockaddr_in in; } sa = { .in.sin_family = AF_INET, - .in.sin_addr.s_addr = INADDR_LOOPBACK, + .in.sin_addr.s_addr = htonl(INADDR_LOOPBACK), }; /* If we failed to set up the loop back device, check whether |