From: Marcel Holtmann Date: Wed, 25 Mar 2009 04:43:07 +0000 (+0100) Subject: The loopback address must be set to 127.0.0.1 X-Git-Tag: 2.0_alpha~3977 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=83b0c14871149ec2a009322a076e36af0de66e39;p=framework%2Fconnectivity%2Fconnman.git The loopback address must be set to 127.0.0.1 --- diff --git a/plugins/loopback.c b/plugins/loopback.c index 7607eea..22a61fb 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) {