summaryrefslogtreecommitdiffstats
path: root/config.h
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 /config.h
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 'config.h')
-rw-r--r--config.h29
1 files changed, 1 insertions, 28 deletions
diff --git a/config.h b/config.h
index 918bc00b..1222271e 100644
--- a/config.h
+++ b/config.h
@@ -30,33 +30,6 @@
#define PACKAGE "dhcpcd"
#define VERSION "4.0.0-rc2"
-/* You can enable/disable various chunks of optional code here.
- * You would only do this to try and shrink the end binary if dhcpcd
- * was running on a low memory device */
-
-/* Disable everything we possibly can. */
-#ifdef MINIMAL
-# ifndef DISABLE_ARP
-# define DISABLE_ARP
-# endif
-# ifndef DISABLE_IPV4LL
-# define DISABLE_IPV4LL
-# endif
-#endif
-
-/* Enable ARP by default. */
-#ifndef DISABLE_ARP
-# define ENABLE_ARP
-#endif
-
-/* IPV4LL, aka ZeroConf, aka APIPA, aka RFC 3927.
- * Needs ARP. */
-#ifndef DISABLE_IPV4LL
-# ifdef ENABLE_ARP
-# define ENABLE_IPV4LL
-# endif
-#endif
-
/*
* By default we don't add a local link route if we got a routeable address.
* This is because dhcpcd can't really decide which interface should allow
@@ -64,7 +37,7 @@
* Ideally the host network scripts should add the link local route for us.
* If not, you can define this to get dhcpcd to always add the link local route.
*/
-// #define ENABLE_IPV4LL_ALWAYSROUTE
+// #define IPV4LL_ALWAYSROUTE
/* Some systems do not have a working fork. */
/* #define THERE_IS_NO_FORK */