From a8cd06ea5acc6881edd10f3e5dabdc3354decb96 Mon Sep 17 00:00:00 2001 From: Arne Schwabe Date: Mon, 11 Mar 2013 21:10:51 +0100 Subject: [PATCH] Remove unused function no_tap_ifconfig Signed-off-by: Arne Schwabe Acked-by: Gert Doering Message-Id: <1363032651-23934-4-git-send-email-arne@rfc2549.org> URL: http://article.gmane.org/gmane.network.openvpn.devel/7388 Signed-off-by: Gert Doering (cherry picked from commit dc63e06b2c366f74752c8baa61b0f173d62511ad) --- src/openvpn/tun.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/openvpn/tun.c b/src/openvpn/tun.c index 9912b071c..a3612332a 100644 --- a/src/openvpn/tun.c +++ b/src/openvpn/tun.c @@ -299,16 +299,6 @@ warn_on_use_of_common_subnets (void) gc_free (&gc); } -/* - * Complain if --dev tap and --ifconfig is used on an OS for which - * we don't have a custom tap ifconfig template below. - */ -static void -no_tap_ifconfig () -{ - msg (M_FATAL, "Sorry but you cannot use --dev tap and --ifconfig together on this OS because I have not yet been programmed to understand the appropriate ifconfig syntax to use for TAP-style devices on this OS. Your best alternative is to use an --up script and do the ifconfig command manually."); -} - /* * Return a string to be used for options compatibility check * between peers. -- 2.47.2