diff options
Diffstat (limited to 'meta/recipes-extended/tcp-wrappers/tcp-wrappers-7.6/man_fromhost.patch')
-rw-r--r-- | meta/recipes-extended/tcp-wrappers/tcp-wrappers-7.6/man_fromhost.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/meta/recipes-extended/tcp-wrappers/tcp-wrappers-7.6/man_fromhost.patch b/meta/recipes-extended/tcp-wrappers/tcp-wrappers-7.6/man_fromhost.patch new file mode 100644 index 0000000000..19bd7d3c0f --- /dev/null +++ b/meta/recipes-extended/tcp-wrappers/tcp-wrappers-7.6/man_fromhost.patch | |||
@@ -0,0 +1,23 @@ | |||
1 | Upstream-Status: Backport | ||
2 | |||
3 | diff -ruN tcp_wrappers_7.6.orig/hosts_access.3 tcp_wrappers_7.6/hosts_access.3 | ||
4 | --- tcp_wrappers_7.6.orig/hosts_access.3 2004-04-25 00:10:48.000000000 +0200 | ||
5 | +++ tcp_wrappers_7.6/hosts_access.3 2004-04-25 00:09:36.000000000 +0200 | ||
6 | @@ -14,6 +14,9 @@ | ||
7 | struct request_info *request_set(request, key, value, ..., 0) | ||
8 | struct request_info *request; | ||
9 | |||
10 | +void fromhost(request) | ||
11 | +struct request_info *request; | ||
12 | + | ||
13 | int hosts_access(request) | ||
14 | struct request_info *request; | ||
15 | |||
16 | @@ -60,6 +63,7 @@ | ||
17 | is available, host names and client user names are looked up on demand, | ||
18 | using the request structure as a cache. hosts_access() returns zero if | ||
19 | access should be denied. | ||
20 | +fromhost() must be called before hosts_access(). | ||
21 | .PP | ||
22 | hosts_ctl() is a wrapper around the request_init() and hosts_access() | ||
23 | routines with a perhaps more convenient interface (though it does not | ||