diff options
author | Russ Dill <Russ.Dill@asu.edu> | 2003-12-18 22:25:38 +0000 |
---|---|---|
committer | Russ Dill <Russ.Dill@asu.edu> | 2003-12-18 22:25:38 +0000 |
commit | 4e864a36b611f56c6b347be1dace4e5e805a3eb8 (patch) | |
tree | 6582084290de4bead010f5fb8ff0a0a6d2b573fd /networking/udhcp/arpping.c | |
parent | e30495654d8bb38f7ea234d9d0ab0929525501e3 (diff) | |
download | busybox-w32-4e864a36b611f56c6b347be1dace4e5e805a3eb8.tar.gz busybox-w32-4e864a36b611f56c6b347be1dace4e5e805a3eb8.tar.bz2 busybox-w32-4e864a36b611f56c6b347be1dace4e5e805a3eb8.zip |
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 e20395a9e..363408d6e 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) | |||
44 | 44 | ||
45 | 45 | ||
46 | if ((s = socket (PF_PACKET, SOCK_PACKET, htons(ETH_P_ARP))) == -1) { | 46 | if ((s = socket (PF_PACKET, SOCK_PACKET, htons(ETH_P_ARP))) == -1) { |
47 | #ifdef IN_BUSYBOX | ||
47 | LOG(LOG_ERR, bb_msg_can_not_create_raw_socket); | 48 | LOG(LOG_ERR, bb_msg_can_not_create_raw_socket); |
49 | #else | ||
50 | LOG(LOG_ERR, "Could not open raw socket"); | ||
51 | #endif | ||
48 | return -1; | 52 | return -1; |
49 | } | 53 | } |
50 | 54 | ||