On Mon, 2 Jan 2023 16:24:40 +
Ben Magistro wrote:
> +
> +/* struct representing args for each interface */
> +struct interface_opts {
> + const char *intf_arg;
> + const char *filter_str;
> + bool promiscuous_mode;
> + uint32_t snaplen;
> +};
> +/* default parameters for inte
This change improves the argument parsing to align closer to that of Wireshark
dumpcap allowing for per interface settings on promiscuous mode and the filter
string.
Cc: step...@networkplumber.org
Signed-off-by: Ben Magistro
---
app/dumpcap/main.c | 149 +++
2 matches
Mail list logo