diff options
-rw-r--r-- | net/ipv4/ipconfig.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/net/ipv4/ipconfig.c b/net/ipv4/ipconfig.c index 67f7c9de0b16..2ed9dd2b5f2f 100644 --- a/net/ipv4/ipconfig.c +++ b/net/ipv4/ipconfig.c | |||
@@ -143,7 +143,11 @@ static char dhcp_client_identifier[253] __initdata; | |||
143 | 143 | ||
144 | /* Persistent data: */ | 144 | /* Persistent data: */ |
145 | 145 | ||
146 | #ifdef IPCONFIG_DYNAMIC | ||
146 | static int ic_proto_used; /* Protocol used, if any */ | 147 | static int ic_proto_used; /* Protocol used, if any */ |
148 | #else | ||
149 | #define ic_proto_used 0 | ||
150 | #endif | ||
147 | static __be32 ic_nameservers[CONF_NAMESERVERS_MAX]; /* DNS Server IP addresses */ | 151 | static __be32 ic_nameservers[CONF_NAMESERVERS_MAX]; /* DNS Server IP addresses */ |
148 | static u8 ic_domain[64]; /* DNS (not NIS) domain name */ | 152 | static u8 ic_domain[64]; /* DNS (not NIS) domain name */ |
149 | 153 | ||