diff --git a/src/pc/pc_main.c b/src/pc/pc_main.c index 86dc043d6..a9936b28e 100644 --- a/src/pc/pc_main.c +++ b/src/pc/pc_main.c @@ -383,7 +383,7 @@ int main(int argc, char *argv[]) { configJoinPort = gCLIOpts.networkPort; network_init(NT_CLIENT, false); } else if (gCLIOpts.network == NT_SERVER) { - network_set_system(NS_SOCKET); + configNetworkSystem = NS_SOCKET; configHostPort = gCLIOpts.networkPort; djui_panel_do_host(NULL, false);