Skip to content

Commit

Permalink
Pass correct forwarding metadata to mirroring
Browse files Browse the repository at this point in the history
Post copying the metadata to the one supposed to be used for mirroring
and modifying the vrf value in it, we are not passing the copy to the
mirror.

Change-Id: Id3cbc5dcc296fc005d06a9aa797339c1cc4a10cc
Closes-BUG: #1552101
  • Loading branch information
anandhk-juniper committed Mar 24, 2016
1 parent aa66037 commit d3d0e98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dp-core/vr_datapath.c
Original file line number Diff line number Diff line change
Expand Up @@ -561,7 +561,7 @@ vr_virtual_input(unsigned short vrf, struct vr_interface *vif,
if (vif->vif_flags & VIF_FLAG_MIRROR_RX) {
mfmd = fmd;
mfmd.fmd_dvrf = vif->vif_vrf;
vr_mirror(vif->vif_router, vif->vif_mirror_id, pkt, &fmd);
vr_mirror(vif->vif_router, vif->vif_mirror_id, pkt, &mfmd);
}

/*
Expand Down

0 comments on commit d3d0e98

Please sign in to comment.