diff options
author | osdl.net!shemminger <osdl.net!shemminger> | 2005-03-30 18:43:30 +0000 |
---|---|---|
committer | osdl.net!shemminger <osdl.net!shemminger> | 2005-03-30 18:43:30 +0000 |
commit | 6ce88ca61db102fd40059f8bd695d4aa7f2e7bfc (patch) | |
tree | 0fa194f6eea2ad2aa61a561e4d16223183359d64 /tc | |
parent | b6d5f02e456b81c48809b2424f08741011623c24 (diff) |
Fix from jamal
2005/03/25 04:34:05-08:00 net[shemminger]!shemminger
Import patch p2_mirred
(Logical change 1.181)
Diffstat (limited to 'tc')
-rw-r--r-- | tc/m_mirred.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tc/m_mirred.c b/tc/m_mirred.c index 6ade2a80..cbfea841 100644 --- a/tc/m_mirred.c +++ b/tc/m_mirred.c @@ -263,7 +263,10 @@ print_mirred(struct action_util *au,FILE * f, struct rtattr *arg) } p = RTA_DATA(tb[TCA_MIRRED_PARMS]); + /* ll_init_map(&rth); + */ + if ((dev = ll_index_to_name(p->ifindex)) == 0) { fprintf(stderr, "Cannot find device %d\n", p->ifindex); @@ -285,7 +288,7 @@ print_mirred(struct action_util *au,FILE * f, struct rtattr *arg) return 0; } -struct action_util mirred_util_util = { +struct action_util mirred_action_util = { .id = "mirred", .parse_aopt = parse_mirred, .print_aopt = print_mirred, |