Skip to content

Commit

Permalink
FW-813. Get l2_nexthop from l3_src_address directly for join response…
Browse files Browse the repository at this point in the history
… packet, without checking it's in neighbor table or not.
  • Loading branch information
changtengfei committed Mar 7, 2019
1 parent 8603cc2 commit 5eed7fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openstack/03b-IPv6/forwarding.c
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,7 @@ owerror_t forwarding_send_internal_RoutingTable(
msg->is_cjoin_response ||
msg->creator==COMPONENT_CJOIN
){
if (neighbors_isStableNeighbor(&(msg->l3_destinationAdd))) {
if (neighbors_isStableNeighbor(&(msg->l3_destinationAdd)) || msg->is_cjoin_response) {
// IP destination is 1-hop neighbor, send directly
packetfunctions_ip128bToMac64b(&(msg->l3_destinationAdd),&temp_prefix64btoWrite,&(msg->l2_nextORpreviousHop));
}
Expand Down

0 comments on commit 5eed7fc

Please sign in to comment.