From: Stephen Hemminger Date: Tue, 30 Mar 2010 00:32:37 +0000 (-0700) Subject: Remove mirred debug message X-Git-Tag: v2.6.34~12 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1b84ad557ec14770ca8fdc661e094f1fea33f5a7;p=thirdparty%2Fiproute2.git Remove mirred debug message Other commands are quiet if successful. mirred action had leftover debug message. --- diff --git a/tc/m_mirred.c b/tc/m_mirred.c index 226df4d29..0d771bc47 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));