From: Arne Schwabe Date: Mon, 11 Mar 2013 20:10:51 +0000 (+0100) Subject: Remove unused function no_tap_ifconfig X-Git-Tag: v2.4_alpha1~596 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dc63e06b2c366f74752c8baa61b0f173d62511ad;p=thirdparty%2Fopenvpn.git 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 --- 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.