]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - net/net.c
Finally retire cmd_confdefs.h and CONFIG_BOOTP_MASK!
[people/ms/u-boot.git] / net / net.c
index 1b7b4a8637a196da05b50b1738b7ed695a014b89..f96eb28b35ea2b90bc0d79b2677c3ccedb9778a6 100644 (file)
--- a/net/net.c
+++ b/net/net.c
@@ -110,7 +110,7 @@ DECLARE_GLOBAL_DATA_PTR;
 IPaddr_t       NetOurSubnetMask=0;             /* Our subnet mask (0=unknown)  */
 IPaddr_t       NetOurGatewayIP=0;              /* Our gateways IP address      */
 IPaddr_t       NetOurDNSIP=0;                  /* Our DNS IP address           */
-#if (CONFIG_BOOTP_MASK & CONFIG_BOOTP_DNS2)
+#if defined(CONFIG_BOOTP_DNS2)
 IPaddr_t       NetOurDNS2IP=0;                 /* Our 2nd DNS IP address       */
 #endif
 char           NetOurNISDomain[32]={0,};       /* Our NIS domain               */