mirror of https://github.com/drowe67/librtlsdr.git
default server address to wildcard
parent
5cfd82c788
commit
2cb35d08a4
|
@ -1021,7 +1021,7 @@ int main(int ac, char** av)
|
||||||
const char* port;
|
const char* port;
|
||||||
|
|
||||||
addr = getenv("RTLSDR_RPC_SERV_ADDR");
|
addr = getenv("RTLSDR_RPC_SERV_ADDR");
|
||||||
if (addr == NULL) addr = "127.0.0.1";
|
if (addr == NULL) addr = "0.0.0.0";
|
||||||
|
|
||||||
port = getenv("RTLSDR_RPC_SERV_PORT");
|
port = getenv("RTLSDR_RPC_SERV_PORT");
|
||||||
if (port == NULL) port = "40000";
|
if (port == NULL) port = "40000";
|
||||||
|
|
Loading…
Reference in New Issue