diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2016-03-24 18:23:50 +0300 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2016-03-24 18:23:50 +0300 |
commit | 34adefae7fc7fa803ceb2e62eec301f92eaebf18 (patch) | |
tree | a4841bd8383becde544310f01c74ba0c7f1e2bff | |
parent | c133a6a3d121d70997ff3ed7792f1b09c91c47d0 (diff) |
Fix return type of get_routedst
* net.cc (get_routedst): Correctly return in_addr_t.
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
-rw-r--r-- | winsup/cygwin/net.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/net.cc b/winsup/cygwin/net.cc index 3175d0ca0..8ef621c21 100644 --- a/winsup/cygwin/net.cc +++ b/winsup/cygwin/net.cc @@ -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; |