Appliance management/capture interfaces selection

This commit is contained in:
Alfredo Cardigliano 2020-11-24 11:48:19 +01:00
parent 6055f4d630
commit 9a37185c79
4 changed files with 55 additions and 29 deletions

View file

@ -196,11 +196,8 @@ end
-- ##############################################
-- Returns the current operating mode
-- nf_config overrides this
-- nf_config and appliance_config override this
function system_config:getOperatingMode()
if not self.config.globals.operating_mode then
return "bridging"
end
return self.config.globals.operating_mode
end