On 7/27/22 09:01, dust.li wrote:
+static void do_test(int domain, int type, int protocol) +{ + int i; + + for (i = 0; i < IP_MAXPACKET; i++) + payload[i] = 'a' + (i % 26); + do_tx(domain, type, protocol); +} + +static void usage(const char *filepath) +{ + error(1, 0, "Usage: %s [-f] [-n<N>] [-z0] [-s<payload size>] " + "(-4|-6) [-t<time s>] -D<dst_ip> udp", filepath);A small flaw, the usage here doesn't match the real options in parse_opts().
Indeed. I'll adjust it, thanks! -- Pavel Begunkov