Substitute getpreferredinterface flawed logic with simpler getLocalAddresses still just one address used at moment

This commit is contained in:
Gioacchino Mazzurco 2015-03-09 20:00:41 +01:00 committed by Gio
parent f12b4a1474
commit 747a03a0b9
6 changed files with 79 additions and 487 deletions

View file

@ -326,6 +326,7 @@ private:
void netStatusReset_locked();
// TODO: Sat Oct 24 15:51:24 CEST 2015 The fact of having just two possible address is a flawed assumption, this should be redesigned soon.
struct sockaddr_storage mLocalAddr;
struct sockaddr_storage mExtAddr;