diff options
author | Khem Raj <raj.khem@gmail.com> | 2010-05-26 09:53:08 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2010-05-26 09:56:42 -0700 |
commit | 5a12f03c680c41791f7036384fa821fb77991d33 (patch) | |
tree | 29db9b97976fa6e4fa6cfe27587386dbfcef51e2 /recipes/tcp-wrappers/tcp-wrappers-7.6/man_fromhost.patch | |
parent | fea59d54134947c29e1a8967dd1f4e98d3062b81 (diff) | |
download | openembedded-5a12f03c680c41791f7036384fa821fb77991d33.tar.gz |
tcp-wrappers: Add .patch extention to patch files.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'recipes/tcp-wrappers/tcp-wrappers-7.6/man_fromhost.patch')
-rw-r--r-- | recipes/tcp-wrappers/tcp-wrappers-7.6/man_fromhost.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/recipes/tcp-wrappers/tcp-wrappers-7.6/man_fromhost.patch b/recipes/tcp-wrappers/tcp-wrappers-7.6/man_fromhost.patch new file mode 100644 index 0000000000..afaa9c8ac3 --- /dev/null +++ b/recipes/tcp-wrappers/tcp-wrappers-7.6/man_fromhost.patch @@ -0,0 +1,21 @@ +diff -ruN tcp_wrappers_7.6.orig/hosts_access.3 tcp_wrappers_7.6/hosts_access.3 +--- tcp_wrappers_7.6.orig/hosts_access.3 2004-04-25 00:10:48.000000000 +0200 ++++ tcp_wrappers_7.6/hosts_access.3 2004-04-25 00:09:36.000000000 +0200 +@@ -14,6 +14,9 @@ + struct request_info *request_set(request, key, value, ..., 0) + struct request_info *request; + ++void fromhost(request) ++struct request_info *request; ++ + int hosts_access(request) + struct request_info *request; + +@@ -60,6 +63,7 @@ + is available, host names and client user names are looked up on demand, + using the request structure as a cache. hosts_access() returns zero if + access should be denied. ++fromhost() must be called before hosts_access(). + .PP + hosts_ctl() is a wrapper around the request_init() and hosts_access() + routines with a perhaps more convenient interface (though it does not |