mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-04-21 04:10:43 +02:00
Add back NAT-Keepalive option so configs don't fail validation
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3881 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
parent
9599502e38
commit
ad5ae13d63
1 changed files with 4 additions and 0 deletions
|
|
@ -38,6 +38,8 @@ typedef struct {
|
|||
GType type;
|
||||
} ValidProperty;
|
||||
|
||||
#define LEGACY_NAT_KEEPALIVE "NAT-Keepalive packet interval"
|
||||
|
||||
static ValidProperty valid_properties[] = {
|
||||
{ NM_VPNC_KEY_GATEWAY, G_TYPE_STRING },
|
||||
{ NM_VPNC_KEY_ID, G_TYPE_STRING },
|
||||
|
|
@ -53,6 +55,8 @@ static ValidProperty valid_properties[] = {
|
|||
{ NM_VPNC_KEY_DPD_IDLE_TIMEOUT, G_TYPE_INT },
|
||||
{ NM_VPNC_KEY_NAT_TRAVERSAL_MODE, G_TYPE_STRING },
|
||||
{ NM_VPNC_KEY_CISCO_UDP_ENCAPS_PORT, G_TYPE_INT },
|
||||
/* Legacy options that are ignored */
|
||||
{ LEGACY_NAT_KEEPALIVE, G_TYPE_STRING },
|
||||
{ NULL, G_TYPE_NONE }
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue