Syslog Filled With "Invalid response packet from host" Message (#1240711)
This commit is contained in:
parent
f5488f8a48
commit
54e63ffbd5
14
avahi-0.6.31-invalid_packet.patch
Normal file
14
avahi-0.6.31-invalid_packet.patch
Normal file
@ -0,0 +1,14 @@
|
||||
diff -up avahi-0.6.31/avahi-core/server.c.invalid_packet avahi-0.6.31/avahi-core/server.c
|
||||
--- avahi-0.6.31/avahi-core/server.c.invalid_packet 2015-09-17 10:36:58.286843110 -0500
|
||||
+++ avahi-0.6.31/avahi-core/server.c 2015-09-17 10:38:46.973153235 -0500
|
||||
@@ -972,9 +972,7 @@ static void dispatch_packet(AvahiServer
|
||||
return;
|
||||
}
|
||||
|
||||
- if (avahi_dns_packet_get_field(p, AVAHI_DNS_FIELD_QDCOUNT) != 0 ||
|
||||
- avahi_dns_packet_get_field(p, AVAHI_DNS_FIELD_ANCOUNT) == 0 ||
|
||||
- avahi_dns_packet_get_field(p, AVAHI_DNS_FIELD_NSCOUNT) != 0) {
|
||||
+ if (avahi_dns_packet_get_field(p, AVAHI_DNS_FIELD_ANCOUNT) == 0) {
|
||||
|
||||
avahi_log_warn("Invalid response packet from host %s.", avahi_address_snprint(t, sizeof(t), src_address));
|
||||
return;
|
10
avahi.spec
10
avahi.spec
@ -18,7 +18,7 @@
|
||||
|
||||
Name: avahi
|
||||
Version: 0.6.31
|
||||
Release: 38%{?dist}
|
||||
Release: 39%{?dist}
|
||||
Summary: Local network service discovery
|
||||
License: LGPLv2+
|
||||
URL: http://avahi.org
|
||||
@ -91,6 +91,10 @@ Patch104: 0001-Python3-support.patch
|
||||
|
||||
Patch105: avahi-0.6.31-reserve-space-for-record-data-when-size-estimate.patch
|
||||
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=1240711
|
||||
# proposed fix from http://avahi.org/ticket/352
|
||||
Patch106: avahi-0.6.31-invalid_packet.patch
|
||||
|
||||
%description
|
||||
Avahi is a system which facilitates service discovery on
|
||||
a local network -- this means that you can plug your laptop or
|
||||
@ -371,6 +375,7 @@ Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
||||
%patch103 -p1 -b .netlink-userns
|
||||
%patch104 -p1 -b .python3
|
||||
%patch105 -p1 -b .reserve-size
|
||||
%patch106 -p1 -b .invalid_packet
|
||||
rm docs/INSTALL
|
||||
|
||||
# patch101 requires autogen
|
||||
@ -722,6 +727,9 @@ exit 0
|
||||
%{python3_sitelib}/avahi/
|
||||
|
||||
%changelog
|
||||
* Thu Sep 17 2015 Rex Dieter <rdieter@fedoraproject.org> 0.6.31-39
|
||||
- Syslog Filled With "Invalid response packet from host" Message (#1240711)
|
||||
|
||||
* Thu Sep 17 2015 Rex Dieter <rdieter@fedoraproject.org> 0.6.31-38
|
||||
- pull in post 0.6.31 upstream fixes, python related packaging polish
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user