diff --git a/vpn-daemons/vpnc/ChangeLog b/vpn-daemons/vpnc/ChangeLog index e8bdbb724..4ac220308 100644 --- a/vpn-daemons/vpnc/ChangeLog +++ b/vpn-daemons/vpnc/ChangeLog @@ -1,3 +1,8 @@ +2005-06-23 David Zeuthen + + * properties/nm-vpnc.c (import_from_file): Allow "Description=" to be + the empty string (reported by Bill Moss ). + 2005-06-17 David Zeuthen * configure.in, Makefile.am: Various fixes such that 'make distcheck' diff --git a/vpn-daemons/vpnc/properties/nm-vpnc.c b/vpn-daemons/vpnc/properties/nm-vpnc.c index 1bc21b4af..14377450d 100644 --- a/vpn-daemons/vpnc/properties/nm-vpnc.c +++ b/vpn-daemons/vpnc/properties/nm-vpnc.c @@ -512,8 +512,7 @@ import_from_file (NetworkManagerVpnUIImpl *impl, const char *path) routes = g_strdup (""); /* sanity check data */ - if (! (strlen (connectionname) > 0 && - strlen (gateway) > 0 && + if (! (strlen (gateway) > 0 && strlen (groupname) > 0)) goto error;