Bug fix for NTS YANGs.
[sim/o1-interface.git] / ntsimulator / ntsim-ng / main.c
index e967d7e..61fc129 100644 (file)
@@ -43,6 +43,7 @@
 #include "features/ves_file_ready/ves_file_ready.h"
 #include "features/manual_notification/manual_notification.h"
 #include "features/netconf_call_home/netconf_call_home.h"
+#include "features/web_cut_through/web_cut_through.h"
 
 int main(int argc, char **argv) {
     int return_code = EXIT_SUCCESS;
@@ -181,6 +182,14 @@ int main(int argc, char **argv) {
                     return_code = EXIT_FAILURE;
                     goto non_container_init_cleanup;
                 }
+
+                // start feature for web cut through
+                rc = web_cut_through_feature_start(session_running);
+                if(rc != 0) {
+                    log_error("web_cut_through_feature_start() failed");
+                    return_code = EXIT_FAILURE;
+                    goto non_container_init_cleanup;
+                }
             }
 
             if(framework_arguments.loop) {