diff options
Diffstat (limited to 'networking/zcip.c')
-rw-r--r-- | networking/zcip.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/networking/zcip.c b/networking/zcip.c index eb3c869ab..195ae50ab 100644 --- a/networking/zcip.c +++ b/networking/zcip.c | |||
@@ -114,10 +114,8 @@ static void arp(int fd, struct sockaddr *saddr, int op, | |||
114 | memcpy(&p.arp.arp_tpa, &target_ip, sizeof(p.arp.arp_tpa)); | 114 | memcpy(&p.arp.arp_tpa, &target_ip, sizeof(p.arp.arp_tpa)); |
115 | 115 | ||
116 | // send it | 116 | // send it |
117 | if (sendto(fd, &p, sizeof(p), 0, saddr, sizeof(*saddr)) < 0) { | 117 | xsendto(fd, &p, sizeof(p), saddr, sizeof(*saddr)); |
118 | bb_perror_msg("sendto"); | 118 | |
119 | //return -errno; | ||
120 | } | ||
121 | // Currently all callers ignore errors, that's why returns are | 119 | // Currently all callers ignore errors, that's why returns are |
122 | // commented out... | 120 | // commented out... |
123 | //return 0; | 121 | //return 0; |