[v3] dumpcap: fix select interface

Message ID 20221017115655.151909-1-arshdeep.kaur@intel.com (mailing list archive)
State Superseded, archived
Delegated to: Thomas Monjalon
Headers
Series [v3] dumpcap: fix select interface |

Checks

Context Check Description
ci/checkpatch success coding style OK
ci/Intel-compilation warning apply issues

Commit Message

Kaur, Arshdeep Oct. 17, 2022, 11:56 a.m. UTC
  Fixed compilation error.

Fixes: a8dde09f97df ("app/dumpcap: allow help/version without primary process")

Signed-off-by: Arshdeep Kaur <arshdeep.kaur@intel.com>
---
 app/dumpcap/main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Patch

diff --git a/app/dumpcap/main.c b/app/dumpcap/main.c
index 11a44ecce4..143c93940d 100644
--- a/app/dumpcap/main.c
+++ b/app/dumpcap/main.c
@@ -799,7 +799,7 @@  int main(int argc, char **argv)
 	if (rte_eth_dev_count_avail() == 0)
 		rte_exit(EXIT_FAILURE, "No Ethernet ports found\n");
 
-	if (select_interface)
+	if (select_interfaces)
 		select_interface(interface_arg);
 
 	if (filter_str)