Deleting or updating a mirror didn't work: mirror_set() didn't set the
'aux' member so mirror_lookup() couldn't find the mirror on that basis.
Bug #6617.
Reported-by: David Tsai <dtsai@nicira.com>
mirror = ofproto->mirrors[idx] = xzalloc(sizeof *mirror);
mirror->ofproto = ofproto;
mirror->idx = idx;
mirror = ofproto->mirrors[idx] = xzalloc(sizeof *mirror);
mirror->ofproto = ofproto;
mirror->idx = idx;
mirror->out_vlan = -1;
mirror->name = NULL;
}
mirror->out_vlan = -1;
mirror->name = NULL;
}