mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 07:28:39 +01:00
libreswan: update to 3.30
Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
This commit is contained in:
@@ -9,13 +9,13 @@
|
||||
#include <errno.h>
|
||||
|
||||
#include "defs.h"
|
||||
@@ -173,7 +173,8 @@ bool send_chunks(const char *where, bool just_a_keepalive,
|
||||
@@ -172,7 +172,8 @@
|
||||
/* Send a duplicate packet when this impair is enabled - used for testing */
|
||||
if (IMPAIR(JACOB_TWO_TWO)) {
|
||||
/* sleep for half a second, and second another packet */
|
||||
- usleep(500000);
|
||||
+ const struct timespec req = {0, 500 * 1000 * 1000};
|
||||
+ nanosleep(&req, NULL);
|
||||
ip_endpoint_buf b;
|
||||
|
||||
DBG_log("JACOB 2-2: resending %zu bytes for %s through %s:%d to %s:",
|
||||
endpoint_buf b;
|
||||
endpoint_buf ib;
|
||||
DBG_log("JACOB 2-2: resending %zu bytes for %s through %s from %s to %s:",
|
||||
|
||||
Reference in New Issue
Block a user