summaryrefslogtreecommitdiff
path: root/plugins/loopback.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2009-03-25 05:43:07 +0100
committerMarcel Holtmann <marcel@holtmann.org>2009-03-25 05:43:07 +0100
commit83b0c14871149ec2a009322a076e36af0de66e39 (patch)
tree27c77e1a72ea15747e5784ba11935ea2bf9d7222 /plugins/loopback.c
parent2f30e758126caee8d4caaea3e6456d256cc47188 (diff)
downloadconnman-83b0c14871149ec2a009322a076e36af0de66e39.tar.gz
connman-83b0c14871149ec2a009322a076e36af0de66e39.tar.bz2
connman-83b0c14871149ec2a009322a076e36af0de66e39.zip
The loopback address must be set to 127.0.0.1
Diffstat (limited to 'plugins/loopback.c')
-rw-r--r--plugins/loopback.c2
1 files changed, 1 insertions, 1 deletions
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) {