mirror of
https://git.proxmox.com/git/mirror_iproute2
synced 2025-11-02 17:15:51 +00:00
Fix from jamal
2005/03/25 04:34:05-08:00 net[shemminger]!shemminger Import patch p2_mirred (Logical change 1.181)
This commit is contained in:
parent
b6d5f02e45
commit
6ce88ca61d
@ -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,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user