diff options
| author | Roy Marples <roy@marples.name> | 2008-07-23 17:06:42 +0000 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2008-07-23 17:06:42 +0000 |
| commit | b8b4be9a39e91342c91e493ce2e08c00d0177aa8 (patch) | |
| tree | ee2ad95243ab6b0c06485c227cd72ef96762936f /net.c | |
| parent | 482f13c723f9353308e869d006771c717e440cd9 (diff) | |
| download | dhcpcd-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.c | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -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 - |
