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);
newtEntrySetFlags(dhcpforcemtuentry, NEWT_FLAG_DISABLED, NEWT_FLAGS_SET);
}
newtRefresh();
- newtDrawForm(networkform);
+ newtDrawForm(networkform);
}
int interfacecheck(struct keyvalue *kv, char *colour)