update lighttpd to new upstream release (v1.4.6)
[openwrt.git] / openwrt / package / arpd / patches / function-string.patch
1 --- arpd/arpd.c.orig Sun Feb 9 05:20:40 2003
2 +++ arpd/arpd.c Thu Jul 21 17:05:40 2005
3 @@ -265,7 +265,7 @@
4 spa->addr_ip, tha->addr_eth, tpa->addr_ip);
5
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",
12 @@ -282,7 +282,7 @@
13 int error;
14
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));
19 return (0);
20 }
21 @@ -291,10 +291,10 @@
22 error = arp_get(arpd_arp, &arpent);
23
24 if (error == -1) {
25 - syslog(LOG_DEBUG, __FUNCTION__ ": no entry for %s",
26 + syslog(LOG_DEBUG, "%s: no entry for %s", __FUNCTION__,
27 addr_ntoa(addr));
28 } else {
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));
32 }
33 return (error);
34 @@ -423,7 +423,7 @@
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));
41
42 /* This address is claimed */
This page took 0.042405 seconds and 5 git commands to generate.