diff options
| author | Roy Marples <roy@marples.name> | 2008-05-29 08:26:57 +0000 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2008-05-29 08:26:57 +0000 |
| commit | 26b48f9559fc47a3c98372c9ccf3a2789e67ab5c (patch) | |
| tree | ed95eff859adb2aa65b357d69ddee8c680195dac /config.h | |
| parent | 0cf4412b26de07d366292cb9f6ef02caaa7ac245 (diff) | |
| download | dhcpcd-26b48f9559fc47a3c98372c9ccf3a2789e67ab5c.tar.xz | |
DISABLE_FEATURE defines now don't enable automatic ENABLE_FEATURE defines.
Diffstat (limited to 'config.h')
| -rw-r--r-- | config.h | 14 |
1 files changed, 11 insertions, 3 deletions
@@ -33,11 +33,17 @@ /* 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 */ -#define ENABLE_ARP +#ifndef DISABLE_ARP +# define ENABLE_ARP +#endif /* IPV4LL, aka ZeroConf, aka APIPA, aka RFC 3927. * Needs ARP. */ -#define ENABLE_IPV4LL +#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. @@ -54,7 +60,9 @@ * You can always create your own DUID file that just contains the * hex string that represents the DUID. * See RFC 3315 for details on this. */ -#define ENABLE_DUID +#ifndef DISABLE_DUID +# define ENABLE_DUID +#endif /* Some systems do not have a working fork. */ /* #define THERE_IS_NO_FORK */ |
