if (ipdef->nranges || ipdef->nhosts) {
if (ipv4def) {
virReportError(VIR_ERR_CONFIG_UNSUPPORTED, "%s",
- _("For IPv4, multiple DHCP definitions "
- "cannot be specified."));
+ _("For IPv4, multiple DHCP definitions cannot be specified."));
return -1;
} else {
ipv4def = ipdef;
if (ipdef->nranges || ipdef->nhosts) {
if (ipv6def) {
virReportError(VIR_ERR_CONFIG_UNSUPPORTED, "%s",
- _("For IPv6, multiple DHCP definitions "
- "cannot be specified."));
+ _("For IPv6, multiple DHCP definitions cannot be specified."));
return -1;
} else {
ipv6def = ipdef;
if (ipdef->nranges || ipdef->nhosts) {
if (ipv4def) {
virReportError(VIR_ERR_CONFIG_UNSUPPORTED, "%s",
- _("Multiple IPv4 dhcp sections found -- "
- "dhcp is supported only for a "
- "single IPv4 address on each network"));
+ _("Multiple IPv4 dhcp sections found -- dhcp is supported only for a single IPv4 address on each network"));
return -1;
} else {
ipv4def = true;
if (ipdef->nranges || ipdef->nhosts) {
if (ipv6def) {
virReportError(VIR_ERR_CONFIG_UNSUPPORTED, "%s",
- _("Multiple IPv6 dhcp sections found -- "
- "dhcp is supported only for a "
- "single IPv6 address on each network"));
+ _("Multiple IPv6 dhcp sections found -- dhcp is supported only for a single IPv6 address on each network"));
return -1;
} else {
ipv6def = true;
if (version >= 6000 &&
virFirewallDGetBackend() == VIR_FIREWALLD_BACKEND_NFTABLES) {
virReportError(VIR_ERR_INTERNAL_ERROR, "%s",
- _("firewalld is set to use the nftables "
- "backend, but the required firewalld "
- "'libvirt' zone is missing. Either set "
- "the firewalld backend to 'iptables', or "
- "ensure that firewalld has a 'libvirt' "
- "zone by upgrading firewalld to a "
- "version supporting rule priorities "
- "(0.7.0+) and/or rebuilding "
- "libvirt with --with-firewalld-zone"));
+ _("firewalld is set to use the nftables backend, but the required firewalld 'libvirt' zone is missing. Either set the firewalld backend to 'iptables', or ensure that firewalld has a 'libvirt' zone by upgrading firewalld to a version supporting rule priorities (0.7.0+) and/or rebuilding libvirt with --with-firewalld-zone"));
return -1;
}
}