summaryrefslogtreecommitdiff
path: root/settings.c
diff options
context:
space:
mode:
Diffstat (limited to 'settings.c')
-rw-r--r--settings.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/settings.c b/settings.c
index 134153672..56fee932c 100644
--- a/settings.c
+++ b/settings.c
@@ -760,7 +760,8 @@ static const SettingDesc misc_settings[] = {
};
static const SettingDesc network_settings[] = {
- {"port", SDT_UINT | SDT_NOSAVE, (void*)3979, &_network_port},
+ {"port", SDT_UINT | SDT_NOSAVE, (void*)3978, &_network_client_port},
+ {"server_port", SDT_UINT | SDT_NOSAVE, (void*)3979, &_network_server_port},
{"sync_freq", SDT_UINT | SDT_NOSAVE, (void*)4, &_network_sync_freq},
{"ahead_frames", SDT_UINT | SDT_NOSAVE, (void*)5, &_network_ahead_frames},
{NULL}