1
0
mirror of https://github.com/fwbuilder/fwbuilder synced 2026-03-25 04:37:22 +01:00

fixes SF bug 3388055 Adding a "DNS Name" with a trailing space causes

failure.
This commit is contained in:
Vadim Kurland 2011-08-30 13:24:22 -07:00
parent 14579473bd
commit 62b48f1833
7 changed files with 11 additions and 6 deletions

View File

@ -7,7 +7,7 @@ FWB_MICRO_VERSION=1
# build number is like "nano" version number. I am incrementing build
# number during development cycle
#
BUILD_NUM="3576"
BUILD_NUM="3577"
VERSION="$FWB_MAJOR_VERSION.$FWB_MINOR_VERSION.$FWB_MICRO_VERSION.$BUILD_NUM"

View File

@ -1,2 +1,2 @@
#define VERSION "5.0.1.3576"
#define VERSION "5.0.1.3577"
#define GENERATION "5.0"

View File

@ -1,3 +1,8 @@
2011-08-30 Vadim Kurland <vadim@netcitadel.com>
* DNSNameDialog.cpp (applyChanges): fixes SF bug 3388055 Adding a
"DNS Name" with a trailing space causes failure.
2011-08-25 Vadim Kurland <vadim@netcitadel.com>
* see #2646 and SF bug 3395658: Added few ipv4 and ipv6 network

View File

@ -3,7 +3,7 @@
%define name fwbuilder
%define version 5.0.1.3576
%define version 5.0.1.3577
%define release 1
%if "%_vendor" == "MandrakeSoft"

View File

@ -4,6 +4,6 @@ Replaces: fwbuilder (<=4.1.1-1), fwbuilder-common, fwbuilder-bsd, fwbuilder-linu
Priority: extra
Section: checkinstall
Maintainer: vadim@fwbuilder.org
Version: 5.0.1.3576-1
Version: 5.0.1.3577-1
Depends: libqt4-gui (>= 4.4.0), libqt4-network (>= 4.4.0), libxml2, libxslt1.1, libsnmp | libsnmp15
Description: Firewall Builder GUI and policy compilers

View File

@ -1,6 +1,6 @@
%define name fwbuilder
%define version 5.0.1.3576
%define version 5.0.1.3577
%define release 1
%if "%_vendor" == "MandrakeSoft"

View File

@ -131,7 +131,7 @@ void DNSNameDialog::applyChanges()
m_dialog->obj_name->text() != m_dialog->dnsrec->text())
m_dialog->dnsrec->setText(m_dialog->obj_name->text());
s->setSourceName( m_dialog->dnsrec->text().toLatin1().constData() );
s->setSourceName( m_dialog->dnsrec->text().trimmed().toLatin1().constData() );
if (!cmd->getOldState()->cmp(new_state, true))
{