From: Roy Marples Date: Fri, 19 Jun 2015 14:09:37 +0000 (+0000) Subject: Fix compile X-Git-Tag: v6.9.1~40 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0a68c655bb2aacd59d248e4d5856d41655481823;p=thirdparty%2Fdhcpcd.git Fix compile --- diff --git a/if-linux.c b/if-linux.c index 6c28f8c7..29ffdd78 100644 --- a/if-linux.c +++ b/if-linux.c @@ -1215,7 +1215,7 @@ if_sendrawpacket(const struct interface *ifp, uint16_t protocol, &ipv4_bcast_addr, sizeof(ipv4_bcast_addr)); else memset(&su.sll.sll_addr, 0xff, ifp->hwlen); - fd = ipv4_protocol(ifp, protocol); + fd = ipv4_protocol_fd(ifp, protocol); return sendto(fd, data, len, 0, &su.sa, sizeof(su.sll)); } @@ -1248,7 +1248,7 @@ if_readrawpacket(struct interface *ifp, uint16_t protocol, #endif state = D_STATE(ifp); - fd = ipv4_protocol(ifp, protocol); + fd = ipv4_protocol_fd(ifp, protocol); bytes = recvmsg(fd, &msg, 0); if (bytes == -1) return -1;