From patchwork Tue Oct 28 10:38:08 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Taras Kondratiuk X-Patchwork-Id: 39654 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f70.google.com (mail-la0-f70.google.com [209.85.215.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id CF59324046 for ; Tue, 28 Oct 2014 10:38:33 +0000 (UTC) Received: by mail-la0-f70.google.com with SMTP id ge10sf263993lab.5 for ; Tue, 28 Oct 2014 03:38:32 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:date:message-id:subject :precedence:list-id:list-unsubscribe:list-archive:list-post :list-help:list-subscribe:mime-version:errors-to:sender :x-original-sender:x-original-authentication-results:mailing-list :content-type:content-transfer-encoding; bh=aEOR5Q+e0vJkSUCFJw2VMeVGjhvKD2MjC+ZKupyNSMo=; b=F/+J5TqHsEW/aQr7mlmvmVkTpmdAK/GLNtkhnrfBiy+rMqvGNBIuKCAtlQgg59c0bB S87HEeNOhCwlebo0gBkBppGxO0Val9P9ValH86p1WMV4/V/9ki9m0PNjti2F16ay1bZP 6P0g69yibve6R+n72Jph4tu9yG/EBdm/t6DeXkA1/UOf7XVHor1mjH8IQY2g8tatrZEu YRWP5MgBNQV31HoRGZtYjltWqNoucf0B7Sr+W7bP6bke6hagsBaQEFnVPi8XJsTDH1GK KkwUfql6wJhzRFMcV8/0F992hCeAgFM4g/e4iz2bkJBJ3et7kW7qw38aBRgjlg4Q/5Ok z2NA== X-Gm-Message-State: ALoCoQlN7xbOvvtZ/VikthDZTMjK2gedzZAz4a8xLcDS1DG6xyidWXpx2MtPOMo8YLqdYjC2mmQx X-Received: by 10.112.180.71 with SMTP id dm7mr223199lbc.18.1414492712559; Tue, 28 Oct 2014 03:38:32 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.88.13 with SMTP id bc13ls42285lab.21.gmail; Tue, 28 Oct 2014 03:38:32 -0700 (PDT) X-Received: by 10.152.197.67 with SMTP id is3mr2904537lac.25.1414492711679; Tue, 28 Oct 2014 03:38:31 -0700 (PDT) Received: from mail-lb0-f170.google.com (mail-lb0-f170.google.com. [209.85.217.170]) by mx.google.com with ESMTPS id jo7si1817504lbc.39.2014.10.28.03.38.31 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 28 Oct 2014 03:38:31 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.170 as permitted sender) client-ip=209.85.217.170; Received: by mail-lb0-f170.google.com with SMTP id 10so323281lbg.1 for ; Tue, 28 Oct 2014 03:38:31 -0700 (PDT) X-Received: by 10.112.14.69 with SMTP id n5mr2937119lbc.34.1414492711441; Tue, 28 Oct 2014 03:38:31 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.84.229 with SMTP id c5csp452794lbz; Tue, 28 Oct 2014 03:38:30 -0700 (PDT) X-Received: by 10.229.236.197 with SMTP id kl5mr3519282qcb.31.1414492710136; Tue, 28 Oct 2014 03:38:30 -0700 (PDT) Received: from ip-10-35-177-41.ec2.internal (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTPS id n94si1621812qgn.55.2014.10.28.03.38.29 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 28 Oct 2014 03:38:30 -0700 (PDT) Received-SPF: none (google.com: lng-odp-bounces@lists.linaro.org does not designate permitted sender hosts) client-ip=54.225.227.206; Received: from localhost ([127.0.0.1] helo=ip-10-35-177-41.ec2.internal) by ip-10-35-177-41.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1Xj4AW-0001Sv-0x; Tue, 28 Oct 2014 10:38:28 +0000 Received: from mail-la0-f42.google.com ([209.85.215.42]) by ip-10-35-177-41.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1Xj4AQ-0001Sq-4I for lng-odp@lists.linaro.org; Tue, 28 Oct 2014 10:38:22 +0000 Received: by mail-la0-f42.google.com with SMTP id gq15so338694lab.1 for ; Tue, 28 Oct 2014 03:38:15 -0700 (PDT) X-Received: by 10.152.228.140 with SMTP id si12mr2914434lac.66.1414492695146; Tue, 28 Oct 2014 03:38:15 -0700 (PDT) Received: from uglx0153363.synapse.com ([195.238.92.128]) by mx.google.com with ESMTPSA id rb2sm444903lbb.17.2014.10.28.03.38.14 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 28 Oct 2014 03:38:14 -0700 (PDT) From: Taras Kondratiuk To: lng-odp@lists.linaro.org Date: Tue, 28 Oct 2014 12:38:08 +0200 Message-Id: <1414492688-5582-1-git-send-email-taras.kondratiuk@linaro.org> X-Mailer: git-send-email 1.7.9.5 X-Topics: patch Subject: [lng-odp] [PATCH] example: ipsec: remove redundant options from scripts X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , MIME-Version: 1.0 Errors-To: lng-odp-bounces@lists.linaro.org Sender: lng-odp-bounces@lists.linaro.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: taras.kondratiuk@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.170 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 Since commit "e968af6 Remove pktio type awareness" ipsec application doesn't accept 'f' and 't' options. getopt_long() function is configured to stop processing at first non-option, so 'm' option at the end is not processed. Remove these redundant options. Signed-off-by: Taras Kondratiuk Reviewed-by: Ciprian Barbu --- example/ipsec/run_ah_in.sh | 2 +- example/ipsec/run_ah_out.sh | 2 +- example/ipsec/run_both_in.sh | 2 +- example/ipsec/run_both_out.sh | 2 +- example/ipsec/run_esp_in.sh | 2 +- example/ipsec/run_esp_out.sh | 2 +- example/ipsec/run_live.sh | 2 +- example/ipsec/run_router.sh | 2 +- example/ipsec/run_simple.sh | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/example/ipsec/run_ah_in.sh b/example/ipsec/run_ah_in.sh index 0dfca9f..5ff1687 100755 --- a/example/ipsec/run_ah_in.sh +++ b/example/ipsec/run_ah_in.sh @@ -9,4 +9,4 @@ -p 192.168.222.0/24:192.168.111.0/24:in:ah \ -a 192.168.222.2:192.168.111.2:md5:300:27f6d123d7077b361662fc6e451f65d8 \ -s 192.168.222.2:192.168.111.2:loop2:loop1:10:100 \ --c 2 -f 0 -m $1 +-c 2 -m $1 diff --git a/example/ipsec/run_ah_out.sh b/example/ipsec/run_ah_out.sh index 995a6cb..b78193e 100755 --- a/example/ipsec/run_ah_out.sh +++ b/example/ipsec/run_ah_out.sh @@ -9,4 +9,4 @@ -p 192.168.111.0/24:192.168.222.0/24:out:ah \ -a 192.168.111.2:192.168.222.2:md5:200:a731649644c5dee92cbd9c2e7e188ee6 \ -s 192.168.111.2:192.168.222.2:loop1:loop2:10:100 \ --c 2 -f 0 -m $1 +-c 2 -m $1 diff --git a/example/ipsec/run_both_in.sh b/example/ipsec/run_both_in.sh index 6d24b08..502f14a 100755 --- a/example/ipsec/run_both_in.sh +++ b/example/ipsec/run_both_in.sh @@ -11,4 +11,4 @@ -e 192.168.222.2:192.168.111.2:\ 3des:301:c966199f24d095f3990a320d749056401e82b26570320292 \ -s 192.168.222.2:192.168.111.2:loop2:loop1:10:100 \ --c 2 -f 0 -m $1 +-c 2 -m $1 diff --git a/example/ipsec/run_both_out.sh b/example/ipsec/run_both_out.sh index c02f670..3086e6f 100755 --- a/example/ipsec/run_both_out.sh +++ b/example/ipsec/run_both_out.sh @@ -11,4 +11,4 @@ 3des:201:656c8523255ccc23a66c1917aa0cf30991fce83532a4b224 \ -a 192.168.111.2:192.168.222.2:md5:200:a731649644c5dee92cbd9c2e7e188ee6 \ -s 192.168.111.2:192.168.222.2:loop1:loop2:10:100 \ --c 2 -f 0 -m $1 +-c 2 -m $1 diff --git a/example/ipsec/run_esp_in.sh b/example/ipsec/run_esp_in.sh index 8868f8d..a206cc4 100755 --- a/example/ipsec/run_esp_in.sh +++ b/example/ipsec/run_esp_in.sh @@ -10,4 +10,4 @@ -e 192.168.222.2:192.168.111.2:\ 3des:301:c966199f24d095f3990a320d749056401e82b26570320292 \ -s 192.168.222.2:192.168.111.2:loop2:loop1:10:100 \ --c 2 -f 0 -m $1 +-c 2 -m $1 diff --git a/example/ipsec/run_esp_out.sh b/example/ipsec/run_esp_out.sh index 5359fdd..b5a541e 100755 --- a/example/ipsec/run_esp_out.sh +++ b/example/ipsec/run_esp_out.sh @@ -10,4 +10,4 @@ -e 192.168.111.2:192.168.222.2:\ 3des:201:656c8523255ccc23a66c1917aa0cf30991fce83532a4b224 \ -s 192.168.111.2:192.168.222.2:loop1:loop2:10:100 \ --c 2 -f 0 -m $1 +-c 2 -m $1 diff --git a/example/ipsec/run_live.sh b/example/ipsec/run_live.sh index 5d72a1a..f61d4e3 100755 --- a/example/ipsec/run_live.sh +++ b/example/ipsec/run_live.sh @@ -14,4 +14,4 @@ sudo ./odp_ipsec -i p7p1,p8p1 \ -e 192.168.222.2:192.168.111.2:\ 3des:301:c966199f24d095f3990a320d749056401e82b26570320292 \ -a 192.168.222.2:192.168.111.2:md5:300:27f6d123d7077b361662fc6e451f65d8 \ --c 2 -f 0 -t 3 -m $1 +-c 2 -m $1 diff --git a/example/ipsec/run_router.sh b/example/ipsec/run_router.sh index 6aac5d2..55ad766 100755 --- a/example/ipsec/run_router.sh +++ b/example/ipsec/run_router.sh @@ -6,4 +6,4 @@ sudo ./odp_ipsec -i p7p1,p8p1 \ -r 192.168.111.2/32:p7p1:08.00.27.76.B5.E0 \ -r 192.168.222.2/32:p8p1:08.00.27.F5.8B.DB \ --c 1 -f 0 -t 3 -m $1 +-c 1 -m $1 diff --git a/example/ipsec/run_simple.sh b/example/ipsec/run_simple.sh index 9b10b65..4622791 100755 --- a/example/ipsec/run_simple.sh +++ b/example/ipsec/run_simple.sh @@ -7,4 +7,4 @@ ./odp_ipsec -i loop1,loop2 \ -r 192.168.222.2/32:loop2:08.00.27.F5.8B.DB \ -s 192.168.111.2:192.168.222.2:loop1:loop2:10:100 \ --c 2 -f 0 -m $1 +-c 2 -m $1