diff --git a/tcp_wrappers-7.6-bug698464.patch b/tcp_wrappers-7.6-bug698464.patch index fc43dcf..483a119 100644 --- a/tcp_wrappers-7.6-bug698464.patch +++ b/tcp_wrappers-7.6-bug698464.patch @@ -51,7 +51,7 @@ + if ((endptr == str) || (*endptr != '\0') || (prefix > 32)) + return INADDR_NONE; + -+ return (~0UL << (32 - prefix)); ++ return htonl(~0UL << (32 - prefix)); +} + --- tcp_wrappers_7.6/hosts_access.c.orig 2011-04-20 16:10:25.000000000 -0600 diff --git a/tcp_wrappers.spec b/tcp_wrappers.spec index ab19110..9574d79 100644 --- a/tcp_wrappers.spec +++ b/tcp_wrappers.spec @@ -1,7 +1,7 @@ Summary: A security tool which acts as a wrapper for TCP daemons Name: tcp_wrappers Version: 7.6 -Release: 63%{?dist} +Release: 64%{?dist} %define LIB_MAJOR 0 %define LIB_MINOR 7 @@ -151,7 +151,7 @@ rm -rf ${RPM_BUILD_ROOT} %{_mandir}/man3/* %changelog -* Tue May 17 2011 Jan F. Chadima - 7.6-63 +* Tue May 24 2011 Jan F. Chadima - 7.6-64 - Improve the support for IPv4 /prefix notation (#698464) * Wed May 4 2011 Jan F. Chadima - 7.6-61