diff options
author | Brian Jackson <iggy@gentoo.org> | 2005-04-27 00:31:14 +0000 |
---|---|---|
committer | Brian Jackson <iggy@gentoo.org> | 2005-04-27 00:31:14 +0000 |
commit | 50095922db2fbd4e6f42ea273fa27ddd1f128209 (patch) | |
tree | 3d377caa135d0097389ae8eda379eed3cf320e2c /net-misc/arpd/files | |
parent | hppa stable for lanius (diff) | |
download | gentoo-2-50095922db2fbd4e6f42ea273fa27ddd1f128209.tar.gz gentoo-2-50095922db2fbd4e6f42ea273fa27ddd1f128209.tar.bz2 gentoo-2-50095922db2fbd4e6f42ea273fa27ddd1f128209.zip |
patch from bug #76833, thanks to those guys, also works on amd64
(Portage version: 2.0.51.20-r4)
Diffstat (limited to 'net-misc/arpd/files')
-rw-r--r-- | net-misc/arpd/files/arpd.c.patch | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/net-misc/arpd/files/arpd.c.patch b/net-misc/arpd/files/arpd.c.patch new file mode 100644 index 000000000000..732ed16c92d7 --- /dev/null +++ b/net-misc/arpd/files/arpd.c.patch @@ -0,0 +1,42 @@ +--- arpd.c.orig 2005-03-30 15:13:37.136590624 -0700 ++++ arpd.c 2005-03-30 15:23:50.295231384 -0700 +@@ -265,7 +265,7 @@ + spa->addr_ip, tha->addr_eth, tpa->addr_ip); + + if (op == ARP_OP_REQUEST) { +- syslog(LOG_DEBUG, __FUNCTION__ ": who-has %s tell %s", ++ syslog(LOG_DEBUG, __FUNCTION__, ": who-has %s tell %s", + addr_ntoa(tpa), addr_ntoa(spa)); + } else if (op == ARP_OP_REPLY) { + syslog(LOG_INFO, "arp reply %s is-at %s", +@@ -282,7 +282,7 @@ + int error; + + if (addr_cmp(addr, &arpd_ifent.intf_addr) == 0) { +- syslog(LOG_DEBUG, __FUNCTION__ ": %s at %s", ++ syslog(LOG_DEBUG, __FUNCTION__, ": %s at %s", + addr_ntoa(addr), addr_ntoa(&arpd_ifent.intf_link_addr)); + return (0); + } +@@ -291,10 +291,10 @@ + error = arp_get(arpd_arp, &arpent); + + if (error == -1) { +- syslog(LOG_DEBUG, __FUNCTION__ ": no entry for %s", ++ syslog(LOG_DEBUG, __FUNCTION__, ": no entry for %s", + addr_ntoa(addr)); + } else { +- syslog(LOG_DEBUG, __FUNCTION__ ": %s at %s", ++ syslog(LOG_DEBUG, __FUNCTION__, ": %s at %s", + addr_ntoa(addr), addr_ntoa(&arpent.arp_ha)); + } + return (error); +@@ -423,7 +423,7 @@ + if ((req = SPLAY_FIND(tree, &arpd_reqs, &tmp)) != NULL) { + addr_pack(&src.arp_ha, ADDR_TYPE_ETH, ETH_ADDR_BITS, + ethip->ar_sha, ETH_ADDR_LEN); +- syslog(LOG_DEBUG, __FUNCTION__ ": %s at %s", ++ syslog(LOG_DEBUG, __FUNCTION__, ": %s at %s", + addr_ntoa(&req->pa), addr_ntoa(&src.arp_ha)); + + /* This address is claimed */ |