mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-15 01:17:16 -05:00
set maximum port value to 65535 instead of old arbitrary value of 50000, and warned about system-reserved ports in server settings gui
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4486 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
0b890420a0
commit
b3052e0208
@ -42,7 +42,7 @@
|
|||||||
|
|
||||||
|
|
||||||
#define PQI_MIN_PORT 1024
|
#define PQI_MIN_PORT 1024
|
||||||
#define PQI_MAX_PORT 50000
|
#define PQI_MAX_PORT 65535
|
||||||
#define PQI_DEFAULT_PORT 7812
|
#define PQI_DEFAULT_PORT 7812
|
||||||
|
|
||||||
int getPQIsearchId();
|
int getPQIsearchId();
|
||||||
|
@ -732,8 +732,11 @@ peers still need to trust each other to allow connection. </string>
|
|||||||
</item>
|
</item>
|
||||||
<item row="0" column="2">
|
<item row="0" column="2">
|
||||||
<widget class="QSpinBox" name="localPort">
|
<widget class="QSpinBox" name="localPort">
|
||||||
|
<property name="toolTip">
|
||||||
|
<string>Acceptable ports range from 1024 to 65535. Ports below 1024 are reserved by your system.</string>
|
||||||
|
</property>
|
||||||
<property name="minimum">
|
<property name="minimum">
|
||||||
<number>0</number>
|
<number>1024</number>
|
||||||
</property>
|
</property>
|
||||||
<property name="maximum">
|
<property name="maximum">
|
||||||
<number>65535</number>
|
<number>65535</number>
|
||||||
@ -755,8 +758,11 @@ peers still need to trust each other to allow connection. </string>
|
|||||||
</item>
|
</item>
|
||||||
<item row="1" column="2">
|
<item row="1" column="2">
|
||||||
<widget class="QSpinBox" name="extPort">
|
<widget class="QSpinBox" name="extPort">
|
||||||
|
<property name="toolTip">
|
||||||
|
<string>Acceptable ports range from 1024 to 65535. Ports below 1024 are reserved by your system.</string>
|
||||||
|
</property>
|
||||||
<property name="minimum">
|
<property name="minimum">
|
||||||
<number>0</number>
|
<number>1024</number>
|
||||||
</property>
|
</property>
|
||||||
<property name="maximum">
|
<property name="maximum">
|
||||||
<number>65535</number>
|
<number>65535</number>
|
||||||
|
Loading…
Reference in New Issue
Block a user