mirror of
https://github.com/OpenVPN/openvpn.git
synced 2025-05-09 05:31:05 +08:00
Added PLATFORM-SPECIFIC comment tag to platform-specific functions
in route.c to make it easier to spot them. git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@4851 e7ae566f-a301-0410-adde-c780ea21d3b5
This commit is contained in:
parent
16322c78ff
commit
c705be2a36
8
route.c
8
route.c
@ -2060,7 +2060,7 @@ get_default_gateway (in_addr_t *ret, in_addr_t *netmask)
|
||||
#else
|
||||
|
||||
bool
|
||||
get_default_gateway (in_addr_t *ret, in_addr_t *netmask)
|
||||
get_default_gateway (in_addr_t *ret, in_addr_t *netmask) /* PLATFORM-SPECIFIC */
|
||||
{
|
||||
return false;
|
||||
}
|
||||
@ -2156,7 +2156,7 @@ get_bypass_addresses (struct route_bypass *rb, const unsigned int flags)
|
||||
#else
|
||||
|
||||
static void
|
||||
get_bypass_addresses (struct route_bypass *rb, const unsigned int flags)
|
||||
get_bypass_addresses (struct route_bypass *rb, const unsigned int flags) /* PLATFORM-SPECIFIC */
|
||||
{
|
||||
}
|
||||
|
||||
@ -2303,7 +2303,7 @@ get_default_gateway_mac_addr (unsigned char *macaddr)
|
||||
#else
|
||||
|
||||
bool
|
||||
get_default_gateway_mac_addr (unsigned char *macaddr)
|
||||
get_default_gateway_mac_addr (unsigned char *macaddr) /* PLATFORM-SPECIFIC */
|
||||
{
|
||||
return false;
|
||||
}
|
||||
@ -2355,7 +2355,7 @@ test_local_addr (const in_addr_t addr)
|
||||
|
||||
|
||||
int
|
||||
test_local_addr (const in_addr_t addr)
|
||||
test_local_addr (const in_addr_t addr) /* PLATFORM-SPECIFIC */
|
||||
{
|
||||
return TLA_NOT_IMPLEMENTED;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user