From: Stephen Hemminger Date: Mon, 27 Jan 2020 03:34:58 +0000 (-0800) Subject: app/testpmd: fix RFC addresses for Tx only X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=8d7c19d9e46957b045690d1530ba0a7be5c5dc03;p=dpdk.git app/testpmd: fix RFC addresses for Tx only The previous patch to change default IP addresses for tx only mode got the wrong values (typo). Fixes: bf5b2126bf44 ("app/testpmd: add ability to set Tx IP and UDP parameters") Cc: stable@dpdk.org Signed-off-by: Stephen Hemminger Reviewed-by: Ferruh Yigit --- diff --git a/app/test-pmd/txonly.c b/app/test-pmd/txonly.c index 871cf6c154..4b5bec443b 100644 --- a/app/test-pmd/txonly.c +++ b/app/test-pmd/txonly.c @@ -45,8 +45,8 @@ uint16_t tx_udp_src_port = 9; uint16_t tx_udp_dst_port = 9; /* use RFC5735 / RFC2544 reserved network test addresses */ -uint32_t tx_ip_src_addr = (192U << 24) | (18 << 16) | (0 << 8) | 1; -uint32_t tx_ip_dst_addr = (192U << 24) | (18 << 16) | (0 << 8) | 2; +uint32_t tx_ip_src_addr = (198U << 24) | (18 << 16) | (0 << 8) | 1; +uint32_t tx_ip_dst_addr = (198U << 24) | (18 << 16) | (0 << 8) | 2; #define IP_DEFTTL 64 /* from RFC 1340. */