mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-24 11:16:34 +00:00
add remote_addr and _port to info() (#20485)
This commit is contained in:
parent
25cadcbbdc
commit
be54104676
@ -506,6 +506,8 @@ extern "C" {
|
||||
be_map_insert_int(vm, "local_port", tcp->local_port);
|
||||
be_map_insert_str(vm, "local_addr", tcp->local_addr.toString().c_str());
|
||||
}
|
||||
be_map_insert_int(vm, "remote_port", tcp->remotePort());
|
||||
be_map_insert_str(vm, "remote_addr", tcp->remoteIP().toString().c_str());
|
||||
}
|
||||
be_pop(vm, 1);
|
||||
be_return(vm);
|
||||
|
Loading…
x
Reference in New Issue
Block a user