Fix return type of get_routedst
* net.cc (get_routedst): Correctly return in_addr_t. Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
parent
c133a6a3d1
commit
34adefae7f
|
@ -1913,7 +1913,7 @@ get_adapters_addresses (PIP_ADAPTER_ADDRESSES *pa_ret, ULONG family)
|
|||
return ret == ERROR_SUCCESS || (!pa_ret && ret == ERROR_BUFFER_OVERFLOW);
|
||||
}
|
||||
|
||||
static u_long
|
||||
static in_addr_t
|
||||
get_routedst (DWORD if_index)
|
||||
{
|
||||
PMIB_IPFORWARDTABLE pift;
|
||||
|
|
Loading…
Reference in New Issue