2006-12-04 Dan Williams <dcbw@redhat.com>

* src/nm-vpnc-service.c
		- (nm_vpnc_config_options_validate): allow the
			"NAT-Keepalive packet interval" option to pass validation


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2166 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
Dan Williams 2006-12-04 21:01:39 +00:00
parent 8eb78d652d
commit e8cc4d2527
2 changed files with 19 additions and 12 deletions

View file

@ -1,3 +1,9 @@
2006-12-04 Dan Williams <dcbw@redhat.com>
* src/nm-vpnc-service.c
- (nm_vpnc_config_options_validate): allow the
"NAT-Keepalive packet interval" option to pass validation
2006-10-30 Tambet Ingo <tambet@ximian.com>
* properties/Makefile.am: Include new files pcf-file.[ch] in build.

View file

@ -492,18 +492,19 @@ typedef struct Option
static gboolean nm_vpnc_config_options_validate (char **data_items, int num_items)
{
Option allowed_opts[] = {
{ "IPSec gateway", OPT_TYPE_ADDRESS },
{ "IPSec ID", OPT_TYPE_ASCII },
{ "IPSec secret", OPT_TYPE_ASCII },
{ "Xauth username", OPT_TYPE_ASCII },
{ "UDP Encapsulate", OPT_TYPE_NONE },
{ "UDP Encapsulation Port", OPT_TYPE_ASCII },
{ "Domain", OPT_TYPE_ASCII },
{ "IKE DH Group", OPT_TYPE_ASCII },
{ "Perfect Forward Secrecy", OPT_TYPE_ASCII },
{ "Application Version", OPT_TYPE_ASCII },
{ "Rekeying interval", OPT_TYPE_ASCII },
{ NULL, OPT_TYPE_UNKNOWN }
{ "IPSec gateway", OPT_TYPE_ADDRESS },
{ "IPSec ID", OPT_TYPE_ASCII },
{ "IPSec secret", OPT_TYPE_ASCII },
{ "Xauth username", OPT_TYPE_ASCII },
{ "UDP Encapsulate", OPT_TYPE_NONE },
{ "UDP Encapsulation Port", OPT_TYPE_ASCII },
{ "Domain", OPT_TYPE_ASCII },
{ "IKE DH Group", OPT_TYPE_ASCII },
{ "Perfect Forward Secrecy", OPT_TYPE_ASCII },
{ "Application Version", OPT_TYPE_ASCII },
{ "Rekeying interval", OPT_TYPE_ASCII },
{ "NAT-Keepalive packet interval", OPT_TYPE_ASCII },
{ NULL, OPT_TYPE_UNKNOWN }
};
unsigned int i;