From 83b0c14871149ec2a009322a076e36af0de66e39 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Wed, 25 Mar 2009 05:43:07 +0100 Subject: The loopback address must be set to 127.0.0.1 --- plugins/loopback.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins') diff --git a/plugins/loopback.c b/plugins/loopback.c index 7607eea2..22a61fb9 100644 --- a/plugins/loopback.c +++ b/plugins/loopback.c @@ -61,7 +61,7 @@ static int loopback_init(void) addr = (struct sockaddr_in *) &ifr.ifr_addr; addr->sin_family = AF_INET; - addr->sin_addr.s_addr = inet_addr("127.0.0.0"); + addr->sin_addr.s_addr = inet_addr("127.0.0.1"); err = ioctl(sk, SIOCSIFADDR, &ifr); if (err < 0) { -- cgit v1.2.3