]> git.ipfire.org Git - thirdparty/iproute2.git/commitdiff
pedit: Fix a typo in warning
authorAmir Vadai <amir@vadai.me>
Sun, 14 May 2017 08:17:43 +0000 (11:17 +0300)
committerStephen Hemminger <stephen@networkplumber.org>
Mon, 15 May 2017 22:05:20 +0000 (15:05 -0700)
'ex' attribute should be placed after 'action pedit' and not after
'munge'.

Signed-off-by: Amir Vadai <amir@vadai.me>
tc/m_pedit.c

index 6498dd91b47102ebf0a78c3bbceca2bcc1cda25f..7ef2acc52bce5deb8eee8b69f3e5a4fff40fc1d9 100644 (file)
@@ -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;
                }
        }