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:
Corinna Vinschen 2016-03-24 16:23:50 +01:00
parent c133a6a3d1
commit 34adefae7f
1 changed files with 1 additions and 1 deletions

View File

@ -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;