From patchwork Mon Jun 29 09:09:29 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christopher Schenk X-Patchwork-Id: 1189 Return-Path: Delivered-To: patchwork@openvpn.net Delivered-To: patchwork@openvpn.net Received: from director12.mail.ord1d.rsapps.net ([172.30.191.6]) by backend30.mail.ord1d.rsapps.net with LMTP id gBepGUtB+l7pQAAAIUCqbw for ; Mon, 29 Jun 2020 15:30:19 -0400 Received: from proxy19.mail.ord1d.rsapps.net ([172.30.191.6]) by director12.mail.ord1d.rsapps.net with LMTP id 6JueGUtB+l53AgAAIasKDg ; Mon, 29 Jun 2020 15:30:19 -0400 Received: from smtp24.gate.ord1d ([172.30.191.6]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by proxy19.mail.ord1d.rsapps.net with LMTP id iPQAGUtB+l6lQwAAyH2SIw ; Mon, 29 Jun 2020 15:30:19 -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: smtp24.gate.ord1d.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: f6e738ae-ba3e-11ea-b705-52540091a1c4-1-1 Received: from [216.105.38.7] ([216.105.38.7:47418] helo=lists.sourceforge.net) by smtp24.gate.ord1d.rsapps.net (envelope-from ) (ecelerity 4.2.38.62370 r(:)) with ESMTPS (cipher=DHE-RSA-AES256-GCM-SHA384) id 14/3F-00420-A414AFE5; Mon, 29 Jun 2020 15:30:18 -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 1jpzT5-0005R9-0S; Mon, 29 Jun 2020 19:29:27 +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 1jpzT3-0005Qx-Aq for openvpn-devel@lists.sourceforge.net; Mon, 29 Jun 2020 19:29:25 +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=98sWDVi5Tmj7nISRNfa349HJ/y0geMM3CnOefsfngyQ=; b=kn/T5vzVhVS5s6QzyUmBpzpJA5 SIn2pNzxeJd18XaCG5syuQcrGPCr1tFmCn2+Oh3M4fsbr3eoYDIEMmcRrmBBylo5zo3WyMDsommlW oIjbyix/x9rOprt6HE1Pg5PRVuswRX9oggFOLU8Lp5OSQSjFO0TER7dNvOivgBRzC9wg=; 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=98sWDVi5Tmj7nISRNfa349HJ/y0geMM3CnOefsfngyQ=; b=d92mC4iUu4z+jIKHRIv6MdggI1 rfQ1rJmlJCH4zoWSTCrgflxlj0FA1nNWGjB+A72XQzsEfskgzywSOIu4voppmdszLW6f4ajtWd5PC vWSsjamRKEcvFauxZZt0N3KrI1e3VxPZ1cxLfd9XqPoWOhYOp/VdhVT1Kpmyg9YfYOK0=; Received: from collins.uni-paderborn.de ([131.234.189.14]) by sfi-mx-1.v28.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92.2) id 1jpzSz-006T8W-Dp for openvpn-devel@lists.sourceforge.net; Mon, 29 Jun 2020 19:29:25 +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 1jpzAm-0006hi-3m for openvpn-devel@lists.sourceforge.net; Mon, 29 Jun 2020 21:10:32 +0200 Received: from mail.uni-paderborn.de by pova with queue id 4018038-2 for openvpn-devel@lists.sourceforge.net; Mon, 29 Jun 2020 19:10:31 GMT From: Christopher Schenk To: openvpn-devel@lists.sourceforge.net Date: Mon, 29 Jun 2020 21:09:29 +0200 Message-Id: <20200629190930.1360-1-cschenk@mail.uni-paderborn.de> X-Mailer: git-send-email 2.21.0.windows.1 In-Reply-To: <202006101601.05AG1i8K031513@chekov.greenie.muc.de> References: <202006101601.05AG1i8K031513@chekov.greenie.muc.de> MIME-Version: 1.0 X-PMX-Version: 6.4.9.2830568, Antispam-Engine: 2.7.2.2107409, Antispam-Data: 2020.6.29.190316, AntiVirus-Engine: 5.74.0, AntiVirus-Data: 2020.6.29.5740001 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: 1jpzSz-006T8W-Dp Subject: [Openvpn-devel] [PATCH 1/2] 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 --- src/openvpn/tun.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/openvpn/tun.c b/src/openvpn/tun.c index 18cdf38d..3ef79b2f 100644 --- a/src/openvpn/tun.c +++ b/src/openvpn/tun.c @@ -251,7 +251,7 @@ do_set_mtu_service(const struct tuntap *tt, const short family, const int mtu) } else { - msg(M_INFO, "%s MTU set to %d on interface %d using service", family_name, mtu, mtu_msg.iface.index); + msg(M_INFO, "%s MTU set to %d on interface %d using SetIpInterfaceEntry()", family_name, mtu, mtu_msg.iface.index); ret = true; } @@ -5516,7 +5516,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); } }