diff --git a/enet b/enet index 4d10671..4f7ef11 160000 --- a/enet +++ b/enet @@ -1 +1 @@ -Subproject commit 4d1067179bd933c6bf6465c406243472128fa34b +Subproject commit 4f7ef11c2352dc53539d1ff93887ef637a6c2e2f diff --git a/limelight-common/ControlStream.c b/limelight-common/ControlStream.c index 2b6fa3a..741d7ac 100644 --- a/limelight-common/ControlStream.c +++ b/limelight-common/ControlStream.c @@ -591,7 +591,7 @@ int startControlStream(void) { } enet_address_set_host(&address, RemoteAddrString); - address.port = 47999; + enet_address_set_port(&address, 47999); // Connect to the host peer = enet_host_connect(client, &address, 1, 0); diff --git a/limelight-common/RtspConnection.c b/limelight-common/RtspConnection.c index 9b48adb..c232f22 100644 --- a/limelight-common/RtspConnection.c +++ b/limelight-common/RtspConnection.c @@ -455,7 +455,7 @@ int performRtspHandshake(void) { } enet_address_set_host(&address, RemoteAddrString); - address.port = 48010; + enet_address_set_port(&address, 48010); // Connect to the host peer = enet_host_connect(client, &address, 1, 0);