Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.2:Test
dhcpcd
dhcpcd-3.2.3-unaligned.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File dhcpcd-3.2.3-unaligned.diff of Package dhcpcd
--- arp.c +++ arp.c @@ -257,7 +257,7 @@ int arp_claim (interface_t *iface, struc rh.c = (unsigned char *) ar_sha (reply); /* Ensure the ARP reply is for the our address */ - if (rp.a->s_addr != address.s_addr) + if (memcmp (rp.c, &address, sizeof (struct in_addr)) != 0) continue; /* Some systems send a reply back from our hwaddress, @@ -267,7 +267,7 @@ int arp_claim (interface_t *iface, struc continue; logger (LOG_ERR, "ARPOP_REPLY received from %s (%s)", - inet_ntoa (*rp.a), + inet_ntoa (address), hwaddr_ntoa (rh.c, (size_t) reply->ar_hln)); retval = -1; goto eexit;
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