summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-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) {