#define FILE_KEY ".file"
#define INSPECTION_KEY ".inspection"
#define IPS_KEY ".ips"
-#define NETWORK_KEY ".network"
THREAD_LOCAL BindStats bstats;
{ "ips_policy", Parameter::PT_STRING, nullptr, nullptr,
"use ips policy from given file" },
- { "network_policy", Parameter::PT_STRING, nullptr, nullptr,
- "deprecated, ignored by binder" },
-
{ "service", Parameter::PT_STRING, nullptr, nullptr,
"override automatic service identification" },
else if ( v.is("ips_policy") )
add_file(v.get_string(), IPS_KEY);
- else if ( v.is("network_policy") )
- add_file(v.get_string(), NETWORK_KEY);
-
else if ( v.is("name") )
{
work->use.name = v.get_string();
return true;
}
- // FIXIT-D: remove this when network_policy binding is deleted from
- // the binder's options
- if ( work->use.type == NETWORK_KEY )
- {
- delete work;
- work = nullptr;
- return true;
- }
-
if ( unsplit_nets && work->when.split_nets )
split_nets_warning();