diff --git a/VERSION b/VERSION index 16e4d402..a41796b3 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -23.10.1 +23.10.2 diff --git a/app/cli-functions.c b/app/cli-functions.c index d06660e2..204e1a56 100644 --- a/app/cli-functions.c +++ b/app/cli-functions.c @@ -167,6 +167,8 @@ static const char *range_help[] = { " or range 0 dst ip 0.0.0.0 0.0.0.0 1.2.3.4 0.0.1.0", "range type ipv4|ipv6 - Set the range packet type to IPv4 or IPv6", "range proto tcp|udp - Set the IP protocol type", + "range tcp flag set - Set the TCP flag", + "range tcp flag clr - Clear the TCP flag", "range tcp seq - Set the TCP sequence number", " or range tcp seq ", "range tcp ack - Set the TCP acknowledge number", diff --git a/app/pktgen-cmds.c b/app/pktgen-cmds.c index e45d1cc1..9f46fc16 100644 --- a/app/pktgen-cmds.c +++ b/app/pktgen-cmds.c @@ -3416,7 +3416,8 @@ single_set_tcp_flag_clr(port_info_t *info, const char *which) void range_set_tcp_flag_set(port_info_t *info, const char *which) { - info->seq_pkt[RANGE_PKT].tcp_flags |= tcp_flag_from_str(which); + info->range.tcp_flags |= tcp_flag_from_str(which); + info->seq_pkt[RANGE_PKT].tcp_flags = info->range.tcp_flags; } /** @@ -3434,7 +3435,8 @@ range_set_tcp_flag_set(port_info_t *info, const char *which) void range_set_tcp_flag_clr(port_info_t *info, const char *which) { - info->seq_pkt[RANGE_PKT].tcp_flags &= ~tcp_flag_from_str(which); + info->range.tcp_flags &= ~tcp_flag_from_str(which); + info->seq_pkt[RANGE_PKT].tcp_flags = info->range.tcp_flags; } /** diff --git a/changelog.txt b/changelog.txt index 792355bc..49814f07 100644 --- a/changelog.txt +++ b/changelog.txt @@ -6,6 +6,7 @@ Pktgen-DPDK - Traffic Generator powered by DPDK ** (Pktgen) Sounds like 'Packet-Gen'** **=== Modifications ===** + - 23.10.2 - Fix range tcp flags and help messages - 23.10.1 - Fix rte_thread_setname() change to rte_thread_set_name() for lua builds - 23.10.0 - Change TX rate calculations to be more accurate Change timer routines to use DPDK timer manager