git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
event/cnxk: fix clang build on Arm
[dpdk.git]
/
examples
/
flow_filtering
/
main.c
diff --git
a/examples/flow_filtering/main.c
b/examples/flow_filtering/main.c
index
93523d6
..
f1940bc
100644
(file)
--- a/
examples/flow_filtering/main.c
+++ b/
examples/flow_filtering/main.c
@@
-9,7
+9,6
@@
#include <inttypes.h>
#include <sys/types.h>
#include <sys/queue.h>
#include <inttypes.h>
#include <sys/types.h>
#include <sys/queue.h>
-#include <netinet/in.h>
#include <setjmp.h>
#include <stdarg.h>
#include <ctype.h>
#include <setjmp.h>
#include <stdarg.h>
#include <ctype.h>
@@
-259,5
+258,10
@@
main(int argc, char **argv)
rte_exit(EXIT_FAILURE, "error in creating flow");
}
rte_exit(EXIT_FAILURE, "error in creating flow");
}
- return main_loop();
+ ret = main_loop();
+
+ /* clean up the EAL */
+ rte_eal_cleanup();
+
+ return ret;
}
}