Skip to content

Commit

Permalink
xcode changes
Browse files Browse the repository at this point in the history
  • Loading branch information
robertdavidgraham committed Jan 2, 2021
1 parent b7bfd62 commit 0c6d830
Show file tree
Hide file tree
Showing 5 changed files with 35 additions and 241 deletions.
6 changes: 3 additions & 3 deletions src/massip-rangesv6.c
Original file line number Diff line number Diff line change
Expand Up @@ -667,10 +667,10 @@ regress_pick2()
}
range = x.lo;
for (j=0; j<range; j++) {
ipv6address x;
ipv6address addr;

x = range6list_pick(targets, j);
range6list_add_range(duplicate, x, x);
addr = range6list_pick(targets, j);
range6list_add_range(duplicate, addr, addr);
}

/* at this point, the two range lists shouild be identical */
Expand Down
14 changes: 8 additions & 6 deletions src/proto-tcp.c
Original file line number Diff line number Diff line change
Expand Up @@ -818,8 +818,7 @@ tcpcon_send_packet(
unsigned ctrl)
{
struct PacketBuffer *response = 0;
uint64_t wait = 100;


assert(tcb->ip_me.version != 0 && tcb->ip_them.version != 0);


Expand All @@ -834,7 +833,11 @@ tcpcon_send_packet(
is_warning_printed = 1;
}
fflush(stdout);
pixie_usleep(wait = (uint64_t)(wait *1.5)); /* no packet available */

/* FIXME: I'm no sure the best way to handle this.
* This would result from a bug in the code,
* but I'm not sure what should be done in response */
pixie_usleep(100); /* no packet available */
}
if (response == NULL)
return;
Expand Down Expand Up @@ -889,8 +892,7 @@ tcp_send_RST(
)
{
struct PacketBuffer *response = 0;
uint64_t wait = 100;



/* Get a buffer for sending the response packet. This thread doesn't
* send the packet itself. Instead, it formats a packet, then hands
Expand All @@ -903,7 +905,7 @@ tcp_send_RST(
is_warning_printed = 1;
}
fflush(stdout);
pixie_usleep(wait = (uint64_t)(wait *1.5)); /* no packet available */
pixie_usleep(100); /* no packet available */
}
if (response == NULL)
return;
Expand Down
188 changes: 0 additions & 188 deletions src/ranges-avl.c

This file was deleted.

20 changes: 0 additions & 20 deletions src/ranges-avl.h

This file was deleted.

Loading

0 comments on commit 0c6d830

Please sign in to comment.