Post Reply 
 
Thread Rating:
  • 3 Vote(s) - 4.33 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Tutorial] Installing MinimServer on FreeNAS or FreeBSD
16-02-2021, 23:11
Post: #92
RE: [Tutorial] Installing MinimServer on FreeNAS or FreeBSD
(16-02-2021 22:08)simoncn Wrote:  It looks like the isWireless function contains Linux-specific code. To work around this, you could add !defined(PLATFORM_FREEBSD) to line 1364.

I assume you are referring to file Os/Posix/Os.c in ohnet version 1.30.3937.

If yes, I don't understand because line 1364 contains:

Code:
1363     struct ifaddrs* networkIf;
1364     struct ifaddrs* iter;
1365     int32_t includeLoopback = 1;

I assume you mean the beginning of the "isWireless"-function? That would be line 1318, correct?

Code:
1317
1318 static int32_t isWireless(const char* ifname)
1319 {
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: [Tutorial] Installing MinimServer on FreeNAS or FreeBSD - airflow - 16-02-2021 23:11

Forum Jump:


User(s) browsing this thread: 1 Guest(s)