From patchwork Mon Jun 29 23:54:44 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christopher Schenk X-Patchwork-Id: 1192 Return-Path: Delivered-To: patchwork@openvpn.net Delivered-To: patchwork@openvpn.net Received: from director8.mail.ord1d.rsapps.net ([172.31.255.6]) by backend30.mail.ord1d.rsapps.net with LMTP id oDm2H9EM+16LHQAAIUCqbw for ; Tue, 30 Jun 2020 05:58:41 -0400 Received: from proxy16.mail.iad3b.rsapps.net ([172.31.255.6]) by director8.mail.ord1d.rsapps.net with LMTP id 6GUSHdEM+145OwAAfY0hYg ; Tue, 30 Jun 2020 05:58:41 -0400 Received: from smtp9.gate.iad3b ([172.31.255.6]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by proxy16.mail.iad3b.rsapps.net with LMTP id SNhKF9EM+15VEQAAPj+4aA ; Tue, 30 Jun 2020 05:58:41 -0400 X-Spam-Threshold: 95 X-Spam-Score: 0 X-Spam-Flag: NO X-Virus-Scanned: OK X-Orig-To: openvpnslackdevel@openvpn.net X-Originating-Ip: [216.105.38.7] Authentication-Results: smtp9.gate.iad3b.rsapps.net; iprev=pass policy.iprev="216.105.38.7"; spf=pass smtp.mailfrom="openvpn-devel-bounces@lists.sourceforge.net" smtp.helo="lists.sourceforge.net"; dkim=fail (signature verification failed) header.d=sourceforge.net; dkim=fail (signature verification failed) header.d=sf.net; dmarc=fail (p=none; dis=none) header.from=mail.uni-paderborn.de X-Suspicious-Flag: YES X-Classification-ID: 4615ed70-bab8-11ea-891e-525400f4d366-1-1 Received: from [216.105.38.7] ([216.105.38.7:35568] helo=lists.sourceforge.net) by smtp9.gate.iad3b.rsapps.net (envelope-from ) (ecelerity 4.2.38.62370 r(:)) with ESMTPS (cipher=DHE-RSA-AES256-GCM-SHA384) id B9/FE-23856-0DC0BFE5; Tue, 30 Jun 2020 05:58:40 -0400 Received: from [127.0.0.1] (helo=sfs-ml-1.v29.lw.sourceforge.com) by sfs-ml-1.v29.lw.sourceforge.com with esmtp (Exim 4.90_1) (envelope-from ) id 1jqD1O-0003qU-G6; Tue, 30 Jun 2020 09:57:46 +0000 Received: from [172.30.20.202] (helo=mx.sourceforge.net) by sfs-ml-1.v29.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jqD1N-0003qE-9H for openvpn-devel@lists.sourceforge.net; Tue, 30 Jun 2020 09:57:45 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=Content-Transfer-Encoding:MIME-Version:References: In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=ERkaqu2VO7LyUBTec4vwgXkoKL19LNxoSnv6f1UpE34=; b=FpgJvaj24c77CKMnMYCbKry0Ht H329Y62WdKQPJwKh6Bmd2gp4I7a/lhhzQjnRq0x3iQ2/qa1n3RF0UDsrBNjZ0mIBoR7+TiDflJUPs YhxMrhciJlLfsafi9ef45G5WTBajDKzGD8BMgTYGd78O1o54HHKl43RoNMOp+bCfj04Y=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=Content-Transfer-Encoding:MIME-Version:References:In-Reply-To:Message-Id: Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=ERkaqu2VO7LyUBTec4vwgXkoKL19LNxoSnv6f1UpE34=; b=PX+RMBwdRhpLa3Ip3drPFAfIK0 13RL/iPmuHsNEhTkzxHuU/wD3aiYRZOEJs3F2fLAoq2b1AO7RWwVUYX0GUnbHN8nqJkVEdBykVbxo 8OuUHjjnrHlajj34ruHQuQDDOdqEEnEklVzAFLO+i0Jrvmc6sXSVKmAZxDRVa2yZCHZ8=; Received: from collins.uni-paderborn.de ([131.234.189.14]) by sfi-mx-3.v28.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92.2) id 1jqD1L-002r9g-Ly for openvpn-devel@lists.sourceforge.net; Tue, 30 Jun 2020 09:57:45 +0000 Received: from pova.uni-paderborn.de ([131.234.189.23] helo=localhost.localdomain) by mail.uni-paderborn.de with esmtp (Exim 4.94 collins) id 1jqD13-0006o6-4z for openvpn-devel@lists.sourceforge.net; Tue, 30 Jun 2020 11:57:25 +0200 Received: from mail.uni-paderborn.de by pova with queue id 4018893-2 for openvpn-devel@lists.sourceforge.net; Tue, 30 Jun 2020 09:57:24 GMT From: Christopher Schenk To: openvpn-devel@lists.sourceforge.net Date: Tue, 30 Jun 2020 11:54:44 +0200 Message-Id: <20200630095443.7188-1-cschenk@mail.uni-paderborn.de> X-Mailer: git-send-email 2.21.0.windows.1 In-Reply-To: <20200629205810.GS1431@greenie.muc.de> References: <20200629205810.GS1431@greenie.muc.de> MIME-Version: 1.0 X-PMX-Version: 6.4.9.2830568, Antispam-Engine: 2.7.2.2107409, Antispam-Data: 2020.6.30.94818, AntiVirus-Engine: 5.74.0, AntiVirus-Data: 2020.6.29.5740002 X-IMT-Spam-Score: 0.0 () X-IMT-Authenticated-Sender: X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record X-Headers-End: 1jqD1L-002r9g-Ly Subject: [Openvpn-devel] [PATCH] Unified success messages for setting mtu X-BeenThere: openvpn-devel@lists.sourceforge.net X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: openvpn-devel-bounces@lists.sourceforge.net X-getmail-retrieved-from-mailbox: Inbox that makes sense. I updated the patch. Christopher Acked-by: Gert Doering --- src/openvpn/tun.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/openvpn/tun.c b/src/openvpn/tun.c index 5567c445..2a2df27f 100644 --- a/src/openvpn/tun.c +++ b/src/openvpn/tun.c @@ -5525,7 +5525,7 @@ windows_set_mtu(const int iface_index, const short family, } else { - msg(M_INFO, "Successfully set %s mtu on interface %d", family_name, iface_index); + msg(M_INFO, "%s MTU set to %d on interface %d using SetIpInterfaceEntry()", family_name, mtu, iface_index); } }