setup: fix setup on arm if dhcp client is selected.

This commit is contained in:
Arne Fitzenreiter
2012-09-25 16:08:43 -04:00
parent 371d0e29bc
commit 86918e351d

View File

@@ -221,7 +221,14 @@ int changeaddress(struct keyvalue *kv, char *colour, int typeflag,
setnetaddress(kv, colour);
result = 1;
}
}
}
/* Workaround for a bug that dhcp radiobutton also end the dialog at arm
*/
else {
if (es.u.co != cancel) {
error = 1;
}
}
}
while (error);
@@ -322,7 +329,7 @@ void networkdialogcallbacktype(newtComponent cm, void *data)
newtEntrySetFlags(dhcpforcemtuentry, NEWT_FLAG_DISABLED, NEWT_FLAGS_SET);
}
newtRefresh();
newtDrawForm(networkform);
newtDrawForm(networkform);
}
int interfacecheck(struct keyvalue *kv, char *colour)