Commit f06a1f7a authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont
Browse files

Fix max UDP port number

parent 3bde1ed6
......@@ -720,7 +720,7 @@ wxPanel *OpenDialog::NetPanel( wxWindow* parent )
wxString::Format(wxT("%d"), i_net_ports[0]),
wxDefaultPosition, wxDefaultSize,
wxSP_ARROW_KEYS,
0, 16000, i_net_ports[0] );
0, 65535, i_net_ports[0] );
subpanel_sizer->Add( label, 0, wxALIGN_RIGHT | wxALIGN_CENTER_VERTICAL );
subpanel_sizer->Add( net_ports[0], 1,
......@@ -748,7 +748,7 @@ wxPanel *OpenDialog::NetPanel( wxWindow* parent )
wxString::Format(wxT("%d"), i_net_ports[1]),
wxDefaultPosition, wxDefaultSize,
wxSP_ARROW_KEYS,
0, 16000, i_net_ports[1] );
0, 65535, i_net_ports[1] );
subpanel_sizer->Add( label, 0, wxALIGN_RIGHT | wxALIGN_CENTER_VERTICAL );
subpanel_sizer->Add( net_ports[1], 1,
......
......@@ -495,7 +495,7 @@ wxPanel *SoutDialog::AccessPanel( wxWindow* parent )
wxString::Format(wxT("%d"), val),
wxDefaultPosition, wxDefaultSize,
wxSP_ARROW_KEYS,
0, 16000, val );
0, 65535, val );
subpanel_sizer->Add( label, 0,
wxALIGN_RIGHT | wxALIGN_CENTER_VERTICAL );
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment