diff options
author | Russ Dill | 2003-12-18 22:25:38 +0000 |
---|---|---|
committer | Russ Dill | 2003-12-18 22:25:38 +0000 |
commit | 4e864a36b611f56c6b347be1dace4e5e805a3eb8 (patch) | |
tree | 6582084290de4bead010f5fb8ff0a0a6d2b573fd /networking/udhcp/arpping.c | |
parent | e30495654d8bb38f7ea234d9d0ab0929525501e3 (diff) | |
download | busybox-4e864a36b611f56c6b347be1dace4e5e805a3eb8.zip busybox-4e864a36b611f56c6b347be1dace4e5e805a3eb8.tar.gz |
Finish remerging busybox udhcp and udhcp. Some cleanups as well.
Diffstat (limited to 'networking/udhcp/arpping.c')
-rw-r--r-- | networking/udhcp/arpping.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/networking/udhcp/arpping.c b/networking/udhcp/arpping.c index e20395a..363408d 100644 --- a/networking/udhcp/arpping.c +++ b/networking/udhcp/arpping.c @@ -44,7 +44,11 @@ int arpping(u_int32_t yiaddr, u_int32_t ip, unsigned char *mac, char *interface) if ((s = socket (PF_PACKET, SOCK_PACKET, htons(ETH_P_ARP))) == -1) { +#ifdef IN_BUSYBOX LOG(LOG_ERR, bb_msg_can_not_create_raw_socket); +#else + LOG(LOG_ERR, "Could not open raw socket"); +#endif return -1; } |