1
0
mirror of https://github.com/bgp/bgpq4.git synced 2024-05-11 05:55:05 +00:00

experiment 1

This commit is contained in:
Job Snijders
2024-05-01 11:45:59 +00:00
parent 59f800f31f
commit a89ac75590
2 changed files with 3 additions and 3 deletions

View File

@ -1074,7 +1074,7 @@ bgpq_expand(struct bgpq_expander *b)
fd = -1;
continue;
}
/*
err = sx_maxsockbuf(fd, SO_SNDBUF);
if (err > 0) {
SX_DEBUG(debug_expander, "Acquired sendbuf of %i "
@ -1084,7 +1084,7 @@ bgpq_expand(struct bgpq_expander *b)
fd = -1;
continue;
}
*/
break;
}

View File

@ -44,7 +44,7 @@ sx_maxsockbuf(int s, int dir)
{
int optval = 0, voptval;
int hiconf = -1, loconf = -1;
unsigned int voptlen;
socklen_t voptlen;
int phase = 0, iterations = 0;
if (s < 0) {