Remove mirred debug message
Other commands are quiet if successful. mirred action had leftover debug message.
This commit is contained in:
parent
609ceb807d
commit
1b84ad557e
|
|
@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
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));
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue