summaryrefslogtreecommitdiffstats
path: root/tools/regression
diff options
context:
space:
mode:
authorpjd <pjd@FreeBSD.org>2005-07-23 05:40:17 +0000
committerpjd <pjd@FreeBSD.org>2005-07-23 05:40:17 +0000
commit4138f701c8c3484b41a65bde1f9dfe78f34c04e9 (patch)
tree7e4f1ce00ea3a795d6d0ff922350d36bf575d5f3 /tools/regression
parentb6bb66296bf2258034b975cbeb694c5d9c0cdfa6 (diff)
downloadFreeBSD-src-4138f701c8c3484b41a65bde1f9dfe78f34c04e9.zip
FreeBSD-src-4138f701c8c3484b41a65bde1f9dfe78f34c04e9.tar.gz
Change jail IP from 1.0.0.127 to 127.0.0.1, which shows, that this test
doesn't examine the real issue as it pass without problems.
Diffstat (limited to 'tools/regression')
-rw-r--r--tools/regression/netinet/udpconnectjail/udpconnectjail.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/regression/netinet/udpconnectjail/udpconnectjail.c b/tools/regression/netinet/udpconnectjail/udpconnectjail.c
index 0c3299f..7151ca4 100644
--- a/tools/regression/netinet/udpconnectjail/udpconnectjail.c
+++ b/tools/regression/netinet/udpconnectjail/udpconnectjail.c
@@ -99,7 +99,7 @@ main(int argc, __unused char *argv[])
thejail.version = 0;
thejail.path = "/";
thejail.hostname = "jail";
- thejail.ip_number = htonl(INADDR_LOOPBACK);
+ thejail.ip_number = INADDR_LOOPBACK;
if (jail(&thejail) < 0)
errx(-1, "jail: %s", strerror(errno));
test("in jail", &sin);
OpenPOWER on IntegriCloud