From 1b84ad557ec14770ca8fdc661e094f1fea33f5a7 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Mon, 29 Mar 2010 17:32:37 -0700 Subject: [PATCH] Remove mirred debug message Other commands are quiet if successful. mirred action had leftover debug message. --- tc/m_mirred.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/tc/m_mirred.c b/tc/m_mirred.c index 226df4d..0d771bc 100644 --- a/tc/m_mirred.c +++ b/tc/m_mirred.c @@ -26,8 +26,6 @@ #include "tc_common.h" #include -int mirred_d = 1; - static void explain(void) { @@ -196,9 +194,6 @@ parse_egress(struct action_util *a, int *argc_p, char ***argv_p, int tca_id, str } } - if (mirred_d) - fprintf(stdout, "Action %d device %s ifindex %d\n",p.action, d,p.ifindex); - tail = NLMSG_TAIL(n); addattr_l(n, MAX_MSG, tca_id, NULL, 0); addattr_l(n, MAX_MSG, TCA_MIRRED_PARMS, &p, sizeof (p)); -- 2.39.2