summaryrefslogtreecommitdiffstats
path: root/net.c
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-07-23 17:06:42 +0000
committerRoy Marples <roy@marples.name>2008-07-23 17:06:42 +0000
commitb8b4be9a39e91342c91e493ce2e08c00d0177aa8 (patch)
treeee2ad95243ab6b0c06485c227cd72ef96762936f /net.c
parent482f13c723f9353308e869d006771c717e440cd9 (diff)
downloaddhcpcd-b8b4be9a39e91342c91e493ce2e08c00d0177aa8.tar.xz
Remove #ifdefs to disable specific bits of code. We now build everything - we're small enough :)
Diffstat (limited to 'net.c')
-rw-r--r--net.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/net.c b/net.c
index 312989a6..9f1b7adb 100644
--- a/net.c
+++ b/net.c
@@ -434,9 +434,7 @@ read_interface(const char *ifname, _unused int metric)
/* 0 is a valid fd, so init to -1 */
iface->raw_fd = -1;
iface->udp_fd = -1;
-#ifdef ENABLE_ARP
iface->arp_fd = -1;
-#endif
iface->link_fd = -1;
eexit:
@@ -662,7 +660,6 @@ valid_udp_packet(const uint8_t *data)
return retval;
}
-#ifdef ENABLE_ARP
int
send_arp(const struct interface *iface, int op, in_addr_t sip, in_addr_t tip)
{
@@ -694,5 +691,3 @@ send_arp(const struct interface *iface, int op, in_addr_t sip, in_addr_t tip)
free(arp);
return retval;
}
-#endif
-