diff --git a/src/suricata.c b/src/suricata.c index 29494f8ebf..f2127d1a2e 100644 --- a/src/suricata.c +++ b/src/suricata.c @@ -2671,13 +2671,13 @@ int PostConfLoadedSetup(SCInstance *suri) MacSetRegisterFlowStorage(); - SetMasterExceptionPolicy(); - LiveDeviceFinalize(); // must be after EBPF extension registration RunModeEngineIsIPS( suricata.run_mode, suricata.runmode_custom_mode, suricata.capture_plugin_name); + SetMasterExceptionPolicy(); + AppLayerSetup(); /* Suricata will use this umask if provided. By default it will use the