mirror of
https://github.com/StikDebug/StikDebug.git
synced 2026-10-15 20:10:30 +00:00
Use correct port for location_simulation via rppairing (#355)
This commit is contained in:
parent
c780843105
commit
e35d499dd8
1 changed files with 1 additions and 1 deletions
|
|
@ -42,7 +42,7 @@ int simulate_location(const char *device_ip,
|
|||
}
|
||||
|
||||
struct sockaddr_in addr = { .sin_family = AF_INET,
|
||||
.sin_port = htons(LOCKDOWN_PORT) };
|
||||
.sin_port = htons(49152) };
|
||||
if (inet_pton(AF_INET, device_ip, &addr.sin_addr) != 1) {
|
||||
return IPA_ERR_INVALID_IP;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue