diff options
-rw-r--r-- | loader2/net.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/loader2/net.c b/loader2/net.c index c86be03d4..37bb940c3 100644 --- a/loader2/net.c +++ b/loader2/net.c @@ -48,7 +48,7 @@ char *netServerPrompt = \ struct intfconfig_s { newtComponent ipEntry, nmEntry, gwEntry, nsEntry; - char * ip, * nm, * gw, * ns; + const char * ip, * nm, * gw, * ns; }; typedef int int32; @@ -156,7 +156,7 @@ static void dhcpBoxCallback(newtComponent co, void * ptr) { static int getDnsServers(struct networkDeviceConfig * cfg) { int rc; - char * ns = ""; + const char * ns = ""; struct newtWinEntry entry[] = { { N_("Nameserver IP"), &ns, 0 }, { NULL, NULL, 0 } }; |