]> git.ipfire.org Git - thirdparty/openvpn.git/commit - src/openvpn/route.c
cleanup: avoid using ~0 - windows
authorAlon Bar-Lev <alon.barlev@gmail.com>
Sun, 1 Apr 2012 12:12:37 +0000 (15:12 +0300)
committerDavid Sommerseth <davids@redhat.com>
Mon, 2 Apr 2012 09:54:12 +0000 (11:54 +0200)
commit12e46092bad76b88bb7439e1c1666e987669cfb1
tree39d903c354d2902d2f7a0f2db6984d6f1d3afe85
parent32e576d270834636e8e8667fcb7e91cdac03b4a4
cleanup: avoid using ~0 - windows

Use the following constants:
- METRIC_NOT_USED
- TUN_ADAPTER_INDEX_INVALID

Modified: Use MAXDWORD for route loop.

Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
Acked-by: Gert Doering <gert@greenie.muc.de>
Signed-off-by: David Sommerseth <davids@redhat.com>
src/openvpn/route.c
src/openvpn/tun.c
src/openvpn/tun.h