summaryrefslogtreecommitdiffstats
path: root/tun.c
diff options
context:
space:
mode:
authorAlon Bar-Lev <alon.barlev@gmail.com>2012-02-29 22:11:56 +0200
committerDavid Sommerseth <davids@redhat.com>2012-03-22 22:07:07 +0100
commit51bd56f46f55177cf0f8b7811b35a009e150d55e (patch)
tree1a5a94057b01d0dd22c9715123e8d6bf0b988052 /tun.c
parent0dbd45db7d76fdff9fbaa64d147c2d2278492efc (diff)
downloadopenvpn-51bd56f46f55177cf0f8b7811b35a009e150d55e.tar.gz
openvpn-51bd56f46f55177cf0f8b7811b35a009e150d55e.tar.xz
openvpn-51bd56f46f55177cf0f8b7811b35a009e150d55e.zip
build: autotools: first pass of trivial autotools changes
Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com> Acked-by: Adriaan de Jong <dejong@fox-it.com> Acked-by: David Sommerseth <davids@redhat.com> Signed-off-by: David Sommerseth <davids@redhat.com>
Diffstat (limited to 'tun.c')
-rw-r--r--tun.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tun.c b/tun.c
index b3df14e..7b74ebd 100644
--- a/tun.c
+++ b/tun.c
@@ -673,7 +673,7 @@ do_ifconfig (struct tuntap *tt,
#if defined(TARGET_LINUX)
-#ifdef CONFIG_FEATURE_IPROUTE
+#ifdef ENABLE_IPROUTE
/*
* Set the MTU for the device
*/
@@ -761,7 +761,7 @@ do_ifconfig (struct tuntap *tt,
}
tt->did_ifconfig = true;
-#endif /*CONFIG_FEATURE_IPROUTE*/
+#endif /*ENABLE_IPROUTE*/
#elif defined(TARGET_SOLARIS)
/* Solaris 2.6 (and 7?) cannot set all parameters in one go...
@@ -1574,7 +1574,7 @@ close_tun (struct tuntap *tt)
struct gc_arena gc = gc_new ();
argv_init (&argv);
-#ifdef CONFIG_FEATURE_IPROUTE
+#ifdef ENABLE_IPROUTE
if (is_tun_p2p (tt))
{
argv_printf (&argv,