1 --- arpd/arpd.c.orig Sun Feb 9 05:20:40 2003
2 +++ arpd/arpd.c Thu Jul 21 17:05:40 2005
4 spa->addr_ip, tha->addr_eth, tpa->addr_ip);
6 if (op == ARP_OP_REQUEST) {
7 - syslog(LOG_DEBUG, __FUNCTION__ ": who-has %s tell %s",
8 + syslog(LOG_DEBUG, "%s: who-has %s tell %s", __FUNCTION__,
9 addr_ntoa(tpa), addr_ntoa(spa));
10 } else if (op == ARP_OP_REPLY) {
11 syslog(LOG_INFO, "arp reply %s is-at %s",
15 if (addr_cmp(addr, &arpd_ifent.intf_addr) == 0) {
16 - syslog(LOG_DEBUG, __FUNCTION__ ": %s at %s",
17 + syslog(LOG_DEBUG, "%s: %s at %s", __FUNCTION__,
18 addr_ntoa(addr), addr_ntoa(&arpd_ifent.intf_link_addr));
22 error = arp_get(arpd_arp, &arpent);
25 - syslog(LOG_DEBUG, __FUNCTION__ ": no entry for %s",
26 + syslog(LOG_DEBUG, "%s: no entry for %s", __FUNCTION__,
29 - syslog(LOG_DEBUG, __FUNCTION__ ": %s at %s",
30 + syslog(LOG_DEBUG, "%s: %s at %s", __FUNCTION__,
31 addr_ntoa(addr), addr_ntoa(&arpent.arp_ha));
35 if ((req = SPLAY_FIND(tree, &arpd_reqs, &tmp)) != NULL) {
36 addr_pack(&src.arp_ha, ADDR_TYPE_ETH, ETH_ADDR_BITS,
37 ethip->ar_sha, ETH_ADDR_LEN);
38 - syslog(LOG_DEBUG, __FUNCTION__ ": %s at %s",
39 + syslog(LOG_DEBUG, "%s: %s at %s", __FUNCTION__,
40 addr_ntoa(&req->pa), addr_ntoa(&src.arp_ha));
42 /* This address is claimed */