Skip to content

Commit

Permalink
closes-bug:#1433996 In the vxlan utility sending Sandesh requirest ag…
Browse files Browse the repository at this point in the history
…ain for dump if respnses are still pending

Change-Id: I5ecc14b05696cd6c50d50b244adb75fc5633439a
  • Loading branch information
divakardhar committed Mar 25, 2015
1 parent 499e1a1 commit 4a6b390
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions utils/vxlan.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@

static struct nl_client *cl;
static bool dump_pending = false;
static int op;
unsigned int dump_marker= 0;

static int vxlan_vnid = 99999;
Expand Down Expand Up @@ -70,7 +69,7 @@ vr_response_process(void *s)
if (resp->resp_code < 0) {
printf("Error: %s\n", strerror(-resp->resp_code));
} else {
if (op == 4) {
if (vxlan_op == SANDESH_OP_DUMP) {
if (resp->resp_code & VR_MESSAGE_DUMP_INCOMPLETE)
dump_pending = true;
else
Expand Down

0 comments on commit 4a6b390

Please sign in to comment.