diff options
Diffstat (limited to 'include/net.h')
-rw-r--r-- | include/net.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/net.h b/include/net.h index e3889a0bc85..c06b577808b 100644 --- a/include/net.h +++ b/include/net.h @@ -536,7 +536,9 @@ extern struct in_addr net_dns_server2; #endif extern char net_nis_domain[32]; /* Our IS domain */ extern char net_hostname[32]; /* Our hostname */ -extern char net_root_path[64]; /* Our root path */ +#ifdef CONFIG_NET +extern char net_root_path[CONFIG_BOOTP_MAX_ROOT_PATH_LEN]; /* Our root path */ +#endif /** END OF BOOTP EXTENTIONS **/ extern u8 net_ethaddr[ARP_HLEN]; /* Our ethernet address */ extern u8 net_server_ethaddr[ARP_HLEN]; /* Boot server enet address */ |