Skip to content

Commit

Permalink
Merge "Fixing invalid message received in nh --get o/p"
Browse files Browse the repository at this point in the history
  • Loading branch information
Zuul authored and opencontrail-ci-admin committed Mar 20, 2017
2 parents 02e68e0 + 3a0faa6 commit 1201a77
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions utils/nh.c
Expand Up @@ -372,6 +372,9 @@ vr_nexthop_req_process(void *s_req)
if (command == SANDESH_OP_GET) {
if (req->nhr_type == NH_COMPOSITE) {
for (i = 0; i < req->nhr_nh_list_size; i++) {
// Skip expanding sub-nh for -1 index
if (req->nhr_nh_list[i] == -1)
continue;
vr_nh_op(cl, command, type, req->nhr_nh_list[i], if_id, vrf_id,
dst_mac, src_mac, sip, dip, flags);
}
Expand Down

0 comments on commit 1201a77

Please sign in to comment.