diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2009-03-25 05:43:07 +0100 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2009-03-25 05:43:07 +0100 |
commit | 83b0c14871149ec2a009322a076e36af0de66e39 (patch) | |
tree | 27c77e1a72ea15747e5784ba11935ea2bf9d7222 /plugins/loopback.c | |
parent | 2f30e758126caee8d4caaea3e6456d256cc47188 (diff) | |
download | connman-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.c | 2 |
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) { |