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.
This commit is contained in:
parent
4866e6c248
commit
3c0a99e66e
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user