Commit graph

9 commits

Author SHA1 Message Date
Shawn Chain
258c8a1202 Fix osx compile error 2020-10-31 19:53:00 +08:00
SASANO Takayoshi
1f72bf16d8 add OSX support to NetworkInfo.cpp (EXPERIMENTAL) 2020-10-10 04:48:59 +09:00
SASANO Takayoshi
630551f6fd CNetworkInfo::getNetworkInterface() FreeBSD support
modified IPv4 default routing information request code to support FreeBSD
2020-10-07 19:12:47 +09:00
SASANO Takayoshi
f2c399308b CNetworkInfo::getNetworkInterface display IP address is limited to IPv4
Displayed IP address is now IPv4 only due to referring IPv4 routing table
to get default route.

This feature is used by hotspots which have small LCD or OLED display
to show IP address to remote login. No effects to connect other reflectors.

If completely disabled IPv4 world will come, the code need to be revised.
2020-10-06 06:58:35 +09:00
SASANO Takayoshi
879b426308 CNetworkInfo::getNetworkInterface() OpenBSD/NetBSD support
added IPv4 default routing information request code for OpenBSD/NetBSD.
2020-10-06 06:17:55 +09:00
SASANO Takayoshi
9d3a58c103 <netinet/in.h> of Linux automatically includes <sys/socket.h>,
but OpenBSD's not. So added it.
2019-03-13 20:18:12 +09:00
KD4Z
e14b650106 OLED Display - Add IP address to display format
Add IP address to bottom of screen by adjusting existing lines upward as
far as possible.
2018-04-07 11:49:12 -04:00
Jonathan Naylor
30aa40313b Fix Linux compile issue. 2017-11-15 12:43:28 +00:00
Jonathan Naylor
711bcbf745 Reformat code and make small alterations. 2017-11-15 10:47:56 +00:00