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