naccyde / rpms / iproute

Forked from rpms/iproute 9 months ago
Clone

Blame SOURCES/0028-pedit-Fix-a-typo-in-warning.patch

cd1737
From b2e49d92325d876d29e2d4f1a83bd86adfc4bc73 Mon Sep 17 00:00:00 2001
cd1737
From: Kamal Heib <kheib@redhat.com>
cd1737
Date: Thu, 9 Nov 2017 04:44:32 -0500
cd1737
Subject: [PATCH] pedit: Fix a typo in warning
cd1737
cd1737
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1456539
cd1737
cd1737
commit 290cdc058d8bbcae3cfefafe83d8263e02ac5a6f
cd1737
Author: Amir Vadai <amir@vadai.me>
cd1737
Date:   Sun May 14 11:17:43 2017 +0300
cd1737
cd1737
    pedit: Fix a typo in warning
cd1737
cd1737
    'ex' attribute should be placed after 'action pedit' and not after
cd1737
    'munge'.
cd1737
cd1737
    Signed-off-by: Amir Vadai <amir@vadai.me>
cd1737
cd1737
Signed-off-by: Kamal Heib <kheib@redhat.com>
cd1737
---
cd1737
 tc/m_pedit.c | 2 +-
cd1737
 1 file changed, 1 insertion(+), 1 deletion(-)
cd1737
cd1737
diff --git a/tc/m_pedit.c b/tc/m_pedit.c
cd1737
index 6498dd9..7ef2acc 100644
cd1737
--- a/tc/m_pedit.c
cd1737
+++ b/tc/m_pedit.c
cd1737
@@ -146,7 +146,7 @@ int pack_key(struct m_pedit_sel *_sel, struct m_pedit_key *tkey)
cd1737
 		if (tkey->htype != TCA_PEDIT_KEY_EX_HDR_TYPE_NETWORK ||
cd1737
 		    tkey->cmd != TCA_PEDIT_KEY_EX_CMD_SET) {
cd1737
 			fprintf(stderr,
cd1737
-				"Munge parameters not supported. Use 'munge ex'.\n");
cd1737
+				"Munge parameters not supported. Use 'pedit ex munge ...'.\n");
cd1737
 			return -1;
cd1737
 		}
cd1737
 	}
cd1737
-- 
cd1737
1.8.3.1
cd1737