SHA256
1
0
forked from pool/dhcp

- Added a fix for an lpf bind error messages making it easier to

localize problems (bnc#617795)

OBS-URL: https://build.opensuse.org/package/show/network:dhcp/dhcp?expand=0&rev=31
This commit is contained in:
Marius Tomaschewski 2010-07-02 11:06:17 +00:00 committed by Git OBS Bridge
parent b82bd4dda2
commit 73d4264ebc
3 changed files with 19 additions and 0 deletions

View File

@ -0,0 +1,11 @@
--- dhcp-4.1.1-P1/common/lpf.c
+++ dhcp-4.1.1-P1/common/lpf.c 2010/07/02 10:39:33
@@ -92,7 +92,7 @@ int if_register_lpf (info)
if (errno == ENOPROTOOPT || errno == EPROTONOSUPPORT ||
errno == ESOCKTNOSUPPORT || errno == EPFNOSUPPORT ||
errno == EAFNOSUPPORT || errno == EINVAL) {
- log_error ("socket: %m - make sure");
+ log_error ("bind: %m - make sure");
log_error ("CONFIG_PACKET (Packet socket) %s",
"and CONFIG_FILTER");
log_error ("(Socket Filtering) are enabled %s",

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Jul 2 10:48:21 UTC 2010 - mt@suse.de
- Added a fix for an lpf bind error messages making it easier to
localize problems (bnc#617795)
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Jun 14 12:11:57 UTC 2010 - mt@suse.de Mon Jun 14 12:11:57 UTC 2010 - mt@suse.de

View File

@ -81,6 +81,7 @@ Patch30: dhcp-4.1.1-ldap-patch-mt-01.diff.bz2
%else %else
Patch30: dhcp-4.1.1-dhclient-no-libcrypto.diff Patch30: dhcp-4.1.1-dhclient-no-libcrypto.diff
%endif %endif
Patch40: dhcp-4.1.1-P1-lpf-bind-msg-fix.diff
## ##
PreReq: /bin/touch /sbin/chkconfig sysconfig PreReq: /bin/touch /sbin/chkconfig sysconfig
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -203,6 +204,7 @@ Authors:
%else %else
%patch30 -p1 %patch30 -p1
%endif %endif
%patch40 -p1
## ##
find . -type f -name \*.cat\* -exec rm -f {} \; find . -type f -name \*.cat\* -exec rm -f {} \;
dos2unix contrib/ms2isc/* dos2unix contrib/ms2isc/*