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