Commit 1b84ad55 authored by Stephen Hemminger's avatar Stephen Hemminger

Remove mirred debug message

Other commands are quiet if successful. mirred action had leftover
debug message.
parent 609ceb80
...@@ -26,8 +26,6 @@ ...@@ -26,8 +26,6 @@
#include "tc_common.h" #include "tc_common.h"
#include <linux/tc_act/tc_mirred.h> #include <linux/tc_act/tc_mirred.h>
int mirred_d = 1;
static void static void
explain(void) explain(void)
{ {
...@@ -196,9 +194,6 @@ parse_egress(struct action_util *a, int *argc_p, char ***argv_p, int tca_id, str ...@@ -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); tail = NLMSG_TAIL(n);
addattr_l(n, MAX_MSG, tca_id, NULL, 0); addattr_l(n, MAX_MSG, tca_id, NULL, 0);
addattr_l(n, MAX_MSG, TCA_MIRRED_PARMS, &p, sizeof (p)); addattr_l(n, MAX_MSG, TCA_MIRRED_PARMS, &p, sizeof (p));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment