1
0
mirror of https://github.com/fwbuilder/fwbuilder synced 2026-03-22 03:07:20 +01:00
This commit is contained in:
Vadim Kurland 2009-12-16 22:45:27 +00:00
parent 08d57f4e03
commit 6af108f5d6
2 changed files with 9 additions and 6 deletions

View File

@ -1 +1 @@
#define BUILD_NUM 2168
#define BUILD_NUM 2169

View File

@ -1620,6 +1620,10 @@ string PolicyCompiler_ipt::PrintRule::_printOptionalGlobalRules()
} catch(const FWException &ex) {
// address does not parse as ipv6, skip this rule.
addr_is_good = false;
QString err("Backup ssh access rule could not be added "
"to IPv6 policy because specified address "
"'%1' is invalid");
compiler->warning(err.arg(addr_str.c_str()).toStdString());
}
} else
{
@ -1630,17 +1634,16 @@ string PolicyCompiler_ipt::PrintRule::_printOptionalGlobalRules()
} catch(const FWException &ex) {
// address does not parse
addr_is_good = false;
QString err("Backup ssh access rule could not be added "
"to IPv4 policy because specified address "
"'%1' is invalid");
compiler->warning(err.arg(addr_str.c_str()).toStdString());
}
}
if (addr_is_good)
{
configlet.setVariable("mgmt_access", 1);
configlet.setVariable("management_address", inet_addr->toString().c_str());
} else
{
QString err("Backup ssh access rule could not be added "
"because specified address '%1' is invalid");
compiler->warning(err.arg(addr_str.c_str()).toStdString());
}
}