diff options
Diffstat (limited to 'clients/tui/nmt-route-entry.c')
| -rw-r--r-- | clients/tui/nmt-route-entry.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clients/tui/nmt-route-entry.c b/clients/tui/nmt-route-entry.c index f7c75e0a..1b37389f 100644 --- a/clients/tui/nmt-route-entry.c +++ b/clients/tui/nmt-route-entry.c @@ -126,7 +126,7 @@ nmt_route_entry_constructed (GObject *object) priv->dest = nmt_ip_entry_new (priv->ip_entry_width, priv->family, TRUE, FALSE); priv->next_hop = nmt_ip_entry_new (priv->ip_entry_width, priv->family, FALSE, TRUE); - priv->metric = nmt_newt_entry_numeric_new (priv->metric_entry_width, 0, 65535); + priv->metric = nmt_newt_entry_numeric_new_full (priv->metric_entry_width, 0, G_MAXUINT32, TRUE); nmt_newt_grid_add (grid, priv->dest, 0, 0); warning_label = create_warning_label (priv->dest); |