Skip to content

Commit

Permalink
Merge "The source IP for neighbor advertisement should be same as the…
Browse files Browse the repository at this point in the history
… target address."
  • Loading branch information
Zuul authored and opencontrail-ci-admin committed Jul 22, 2016
2 parents fd6c707 + 348ca58 commit eecdf18
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions dp-core/vr_proto_ip6.c
Original file line number Diff line number Diff line change
Expand Up @@ -358,8 +358,6 @@ vr_neighbor_proxy(struct vr_packet *pkt, struct vr_forwarding_md *fmd,

memcpy(ip6->ip6_dst, ip6->ip6_src, sizeof(ip6->ip6_src));
memcpy(ip6->ip6_src, &icmph->icmp_data, sizeof(ip6->ip6_src));
/* Mimic a different source ip */
ip6->ip6_src[15] = 0xFF;

/* Update ICMP header and options */
icmph->icmp_type = VR_ICMP6_TYPE_NEIGH_AD;
Expand Down

0 comments on commit eecdf18

Please sign in to comment.