2018-12-27 22:53:24 +00:00
|
|
|
/***
|
|
|
|
*
|
2019-01-16 16:43:50 +00:00
|
|
|
* Copyright (c) 2016-2019 Marco 'eukara' Hladik. All rights reserved.
|
|
|
|
*
|
|
|
|
* See the file LICENSE attached with the sources for usage details.
|
2018-12-27 22:53:24 +00:00
|
|
|
*
|
|
|
|
****/
|
|
|
|
|
|
|
|
int Server_IsLan(string address)
|
|
|
|
{
|
|
|
|
#if 0
|
|
|
|
return FALSE;
|
|
|
|
#endif
|
|
|
|
tokenizebyseparator(address, ".");
|
|
|
|
|
|
|
|
if (argv(0) == "192" && argv(1) == "168") {
|
|
|
|
return TRUE;
|
|
|
|
} else {
|
|
|
|
return FALSE;
|
|
|
|
}
|
|
|
|
}
|