From patchwork Tue Apr 28 03:17:00 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Antonio Quartulli X-Patchwork-Id: 1100 Return-Path: Delivered-To: patchwork@openvpn.net Delivered-To: patchwork@openvpn.net Received: from director9.mail.ord1d.rsapps.net ([172.27.255.50]) by backend30.mail.ord1d.rsapps.net with LMTP id 4MQhIBctqF4pegAAIUCqbw for ; Tue, 28 Apr 2020 09:18:15 -0400 Received: from proxy17.mail.iad3a.rsapps.net ([172.27.255.50]) by director9.mail.ord1d.rsapps.net with LMTP id sICTHRctqF4ZXAAAalYnBA ; Tue, 28 Apr 2020 09:18:15 -0400 Received: from smtp13.gate.iad3a ([172.27.255.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by proxy17.mail.iad3a.rsapps.net with LMTP id gKiIFxctqF4/XwAAR4KW9A ; Tue, 28 Apr 2020 09:18:15 -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: smtp13.gate.iad3a.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=none (p=nil; dis=none) header.from=unstable.cc X-Suspicious-Flag: YES X-Classification-ID: b6f0820e-8952-11ea-8551-5254004b83b1-1-1 Received: from [216.105.38.7] ([216.105.38.7:38988] helo=lists.sourceforge.net) by smtp13.gate.iad3a.rsapps.net (envelope-from ) (ecelerity 4.2.38.62370 r(:)) with ESMTPS (cipher=DHE-RSA-AES256-GCM-SHA384) id FA/DD-26045-61D28AE5; Tue, 28 Apr 2020 09:18:14 -0400 Received: from [127.0.0.1] (helo=sfs-ml-4.v29.lw.sourceforge.com) by sfs-ml-4.v29.lw.sourceforge.com with esmtp (Exim 4.90_1) (envelope-from ) id 1jTQ77-0007uP-FB; Tue, 28 Apr 2020 13:17:29 +0000 Received: from [172.30.20.202] (helo=mx.sourceforge.net) by sfs-ml-4.v29.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jTQ76-0007uI-QA for openvpn-devel@lists.sourceforge.net; Tue, 28 Apr 2020 13:17:28 +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: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:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=tqFLPq1Gy/vdiiT42yNN8+Kda/+xqh9YU9pWRKprr4g=; b=ZiAkJVK8HljckN5qgq8eqLqoQI /yXhVIjrswGXCNBuT45tYzuk5qw7G+nZJaRSt5NKt3DxkkM3wteqnogz+ctqohZ0HLEjuldH0BabN uZUFhBMIu+ARgYhABxxQFRwFWp9EFRtwbixvyWfV5evX5tws7u1eTYW3rSlK2u3ll4dU=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=Content-Transfer-Encoding:MIME-Version: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:In-Reply-To: References:List-Id:List-Help:List-Unsubscribe:List-Subscribe:List-Post: List-Owner:List-Archive; bh=tqFLPq1Gy/vdiiT42yNN8+Kda/+xqh9YU9pWRKprr4g=; b=m 6c40DeeTon0qklhkffR/9PBMQcycuZmli/CW5t/6jXb0Uf2lgNWVAODNH2KhSx4776Jd9rb4P6BVR WgQSEYKoMJPf6ERsZFisD2MG1+GhWyIeaJ0D1XN+1jXpg4T0fue9dMOQZLvEOdmrzV3wu9O4qDBVZ GUslJ1M05r14yIKU=; Received: from s2.neomailbox.net ([5.148.176.60]) by sfi-mx-3.v28.lw.sourceforge.com with esmtps (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92.2) id 1jTQ75-00Eg9m-4q for openvpn-devel@lists.sourceforge.net; Tue, 28 Apr 2020 13:17:28 +0000 From: Antonio Quartulli To: openvpn-devel@lists.sourceforge.net Date: Tue, 28 Apr 2020 15:17:00 +0200 Message-Id: <20200428131700.9123-1-a@unstable.cc> MIME-Version: 1.0 X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: unstable.cc] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record -0.4 AWL AWL: Adjusted score from AWL reputation of From: address X-Headers-End: 1jTQ75-00Eg9m-4q Subject: [Openvpn-devel] [PATCH] t_net.sh: assign MAC address directly during interface creation 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: , Cc: Antonio Quartulli Errors-To: openvpn-devel-bounces@lists.sourceforge.net X-getmail-retrieved-from-mailbox: Inbox Signed-off-by: Antonio Quartulli Acked-by: Gert Doering --- - tested with buildbot tests/t_net.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/t_net.sh b/tests/t_net.sh index 8f1bc361..c67c3df2 100755 --- a/tests/t_net.sh +++ b/tests/t_net.sh @@ -33,15 +33,13 @@ LAST_STATE=$((${#GET_STATE[@]} - 1)) reload_dummy() { $RUN_SUDO ip link del $IFACE - $RUN_SUDO ip link add $IFACE type dummy + $RUN_SUDO ip link add $IFACE address 00:11:22:33:44:55 type dummy $RUN_SUDO ip link set dev $IFACE state up if [ $? -ne 0 ]; then echo "can't create interface $IFACE" exit 1 fi - - $RUN_SUDO ip link set dev $IFACE address 00:11:22:33:44:55 } run_test()