diff options
author | Jeremy Kerr <jk@ozlabs.org> | 2013-12-18 10:31:10 +0800 |
---|---|---|
committer | Jeremy Kerr <jk@ozlabs.org> | 2013-12-18 10:31:10 +0800 |
commit | b2ba8efeb3ea00a9b404f403549caa692fe34cc7 (patch) | |
tree | 4f85a5c00fb81d263db8fe00a253d2becc945648 /ui/ncurses | |
parent | 66bf929fa97fabb70198455f9eec2e9ccf0661fa (diff) | |
download | talos-petitboot-b2ba8efeb3ea00a9b404f403549caa692fe34cc7.tar.gz talos-petitboot-b2ba8efeb3ea00a9b404f403549caa692fe34cc7.zip |
ui/ncurses/nc-config: expand mask field
This makes it obvious if there's more than two characters in the field.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'ui/ncurses')
-rw-r--r-- | ui/ncurses/nc-config.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/ncurses/nc-config.c b/ui/ncurses/nc-config.c index 0b42e4c..78e8e9e 100644 --- a/ui/ncurses/nc-config.c +++ b/ui/ncurses/nc-config.c @@ -508,7 +508,7 @@ static void config_screen_setup_widgets(struct config_screen *screen, screen->widgets.ip_addr_l = widget_new_label(set, 0, 0, "IP/mask:"); screen->widgets.ip_addr_f = widget_new_textbox(set, 0, 0, 16, ip); screen->widgets.ip_mask_l = widget_new_label(set, 0, 0, "/"); - screen->widgets.ip_mask_f = widget_new_textbox(set, 0, 0, 3, mask); + screen->widgets.ip_mask_f = widget_new_textbox(set, 0, 0, 4, mask); screen->widgets.ip_addr_mask_help_l = widget_new_label(set, 0, 0, "(eg. 192.168.0.10 / 24)"); |