From f28e5fb7341452a041c470a406caba73950f1d40 Mon Sep 17 00:00:00 2001 From: Michael Tuexen <tuexen@fh-muenster.de> Date: Mon, 5 Sep 2016 22:20:49 +0200 Subject: [PATCH] Undo last fix. We can't access the SYN bit... Sponsored by: Neflix. --- gtests/net/packetdrill/run_packet.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gtests/net/packetdrill/run_packet.c b/gtests/net/packetdrill/run_packet.c index 86da29d2..fa4033be 100644 --- a/gtests/net/packetdrill/run_packet.c +++ b/gtests/net/packetdrill/run_packet.c @@ -600,7 +600,8 @@ static int map_inbound_icmp_tcp_packet( struct socket *socket, struct packet *live_packet, char **error) { u32 *seq = packet_echoed_tcp_seq(live_packet); - bool is_syn = live_packet->tcp->syn; + /* FIXME: There is currently no way to access the TCP flags */ + bool is_syn = false; u32 seq_offset = local_seq_script_to_live_offset(socket, is_syn); *seq = htonl(ntohl(*seq) + seq_offset); return STATUS_OK; -- GitLab