diff options
author | Joel Sherrill <joel.sherrill@oarcorp.com> | 2012-08-24 15:15:04 -0500 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@oarcorp.com> | 2012-08-24 15:15:04 -0500 |
commit | 659d7adb7c6cdca737dee9272a00a4a8afc4d735 (patch) | |
tree | 5e68133d62230585c9b95908f10ee0fc43a455f3 | |
parent | rtems-bsd-config.h: Add __NEW_RTEMS_BSD__ until machine/param.h in tools can ... (diff) | |
parent | Fixed return values for jail methods. (diff) | |
download | rtems-libbsd-659d7adb7c6cdca737dee9272a00a4a8afc4d735.tar.bz2 |
Merge branch 'master' of ssh://git.rtems.org/data/git/rtems-libbsd
-rw-r--r-- | rtemsbsd/src/rtems-bsd-jail.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/rtemsbsd/src/rtems-bsd-jail.c b/rtemsbsd/src/rtems-bsd-jail.c index 9f5c1d57..6294e98c 100644 --- a/rtemsbsd/src/rtems-bsd-jail.c +++ b/rtemsbsd/src/rtems-bsd-jail.c @@ -198,7 +198,7 @@ prison_check_ip6(struct ucred *cred, struct in6_addr *ia6) int prison_local_ip4(struct ucred *cred, struct in_addr *ia) { - return EAFNOSUPPORT; + return 0; } /* @@ -210,7 +210,7 @@ prison_local_ip4(struct ucred *cred, struct in_addr *ia) int prison_remote_ip4(struct ucred *cred, struct in_addr *ia) { - return EAFNOSUPPORT; + return 0; } /* @@ -263,6 +263,7 @@ prison_remote_ip6(struct ucred *cred, struct in6_addr *ia6) int prison_saddrsel_ip4(struct ucred *cred, struct in_addr *ia) { + return 1; } /* |