summaryrefslogtreecommitdiffstats
path: root/net/bootp.h
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2008-04-07 11:37:25 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2008-04-07 11:37:25 +0200
commit9bf7a4f97f58951507904f1d2ce7a469060deaae (patch)
tree7ce802f8d110edf802836e70f80de30086ec7315 /net/bootp.h
parent5b671e961149cb5cff321af97c19ae526de9ed8a (diff)
downloadbarebox-9bf7a4f97f58951507904f1d2ce7a469060deaae.tar.gz
barebox-9bf7a4f97f58951507904f1d2ce7a469060deaae.tar.xz
[net] cleanups:
- remove cdp support - replace CONFIG_BOOTP_MASK with #ifdef CONFIG_...
Diffstat (limited to 'net/bootp.h')
-rw-r--r--net/bootp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bootp.h b/net/bootp.h
index 0b3163901e..f5529f7ecc 100644
--- a/net/bootp.h
+++ b/net/bootp.h
@@ -18,7 +18,7 @@
/*
* BOOTP header.
*/
-#if (CONFIG_COMMANDS & CFG_CMD_DHCP)
+#ifdef CONFIG_NET_DHCP
#define OPT_SIZE 312 /* Minimum DHCP Options size per RFC2131 - results in 576 byte pkt */
#else
#define OPT_SIZE 64