net/: Augment CONFIG_COMMANDS tests with defined(CONFIG_CMD_*).
[oweals/u-boot.git] / net / bootp.h
index 0b3163901e3fd7f2e26e6276cb3ead0ad7c3fb28..8e52aec726d8b2d2838e9a466523b00486890248 100644 (file)
@@ -18,7 +18,7 @@
 /*
  *     BOOTP header.
  */
-#if (CONFIG_COMMANDS & CFG_CMD_DHCP)
+#if (CONFIG_COMMANDS & CFG_CMD_DHCP) || defined(CONFIG_CMD_DHCP)
 #define OPT_SIZE 312   /* Minimum DHCP Options size per RFC2131 - results in 576 byte pkt */
 #else
 #define OPT_SIZE 64