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