Fixed compilation error.

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

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

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)
-- 
2.37.1

Reply via email to