]> git.droids-corp.org - dpdk.git/blobdiff - examples/link_status_interrupt/main.c
examples: add eal cleanup to examples
[dpdk.git] / examples / link_status_interrupt / main.c
index f1653b4fb8ffe2c61d935bf60b361913d6cc38e8..d8ff5f133b3d0b3046d1ce66e198cfdf79a57ce0 100644 (file)
@@ -9,7 +9,6 @@
 #include <inttypes.h>
 #include <sys/types.h>
 #include <sys/queue.h>
-#include <netinet/in.h>
 #include <setjmp.h>
 #include <stdarg.h>
 #include <ctype.h>
@@ -731,5 +730,8 @@ main(int argc, char **argv)
                        return -1;
        }
 
+       /* clean up the EAL */
+       rte_eal_cleanup();
+
        return 0;
 }