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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=148327
@ -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…
Reference in New Issue
Block a user