mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-02 06:04:39 -04:00
REST API: fixed reverse API address setting
This commit is contained in:
@@ -649,7 +649,7 @@ int RTLSDRInput::webapiSettingsPutPatch(
|
||||
settings.m_useReverseAPI = response.getRtlSdrSettings()->getUseReverseApi() != 0;
|
||||
}
|
||||
if (deviceSettingsKeys.contains("reverseAPIAddress")) {
|
||||
settings.m_reverseAPIAddress = *response.getRtlSdrSettings()->getReverseApiAddress() != 0;
|
||||
settings.m_reverseAPIAddress = *response.getRtlSdrSettings()->getReverseApiAddress();
|
||||
}
|
||||
if (deviceSettingsKeys.contains("reverseAPIPort")) {
|
||||
settings.m_reverseAPIPort = response.getRtlSdrSettings()->getReverseApiPort();
|
||||
|
||||
Reference in New Issue
Block a user