Add packet capture functions
[platform/core/connectivity/stc-manager.git] / src / stc-manager.c
old mode 100644 (file)
new mode 100755 (executable)
index 79acd88..46401fb
@@ -32,6 +32,7 @@
 #include "stc-manager-plugin-exception.h"
 #include "stc-manager-plugin-procfs.h"
 #include "stc-manager-plugin-tether.h"
+#include "stc-manager-plugin-pcap.h"
 
 #define BUF_SIZE_FOR_ERR 100
 
@@ -91,6 +92,7 @@ static void __stc_manager_deinit(void)
        stc_plugin_exception_deinit();
        stc_plugin_procfs_deinit();
        stc_plugin_tether_deinit();
+       stc_plugin_pcap_deinit();
 
        inotify_deregister(INFO_STORAGE_DIR);
        inotify_deinitialize();
@@ -133,6 +135,7 @@ static stc_s *__stc_manager_init(void)
        stc_plugin_exception_init();
        stc_plugin_procfs_init();
        stc_plugin_tether_init();
+       stc_plugin_pcap_init();
 #endif
 
        stc_firewall_init();