Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Maintenance:4180
avahi.openSUSE_Leap_42.1_Update
avahi-0.6.31-invalid-packet.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File avahi-0.6.31-invalid-packet.patch of Package avahi.openSUSE_Leap_42.1_Update
From: Mike Gorse <mgorse@suse.com> Date: Wed Oct 7 15:14:31 CDT 2015 Subject: don't spam logs with invalid packets We should silently ignore any questions in the Question Section of a received Multicast DNS Response. Also, use avahi_log_debug to log invalid packets. Taken from Fedora / http://www.avahi.org/ticket/352 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-22 08:12:58.544588701 -0500 +++ avahi-0.6.31/avahi-core/server.c 2015-09-22 08:13:39.743862403 -0500 @@ -972,11 +972,9 @@ 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)); + avahi_log_debug("Invalid response packet from host %s.", avahi_address_snprint(t, sizeof(t), src_address)); return; }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor