diff options
Diffstat (limited to 'components/onc')
-rw-r--r-- | components/onc/docs/onc_spec.html | 16 | ||||
-rw-r--r-- | components/onc/onc_constants.cc | 1 | ||||
-rw-r--r-- | components/onc/onc_constants.h | 1 |
3 files changed, 18 insertions, 0 deletions
diff --git a/components/onc/docs/onc_spec.html b/components/onc/docs/onc_spec.html index 10b2f0f..b93b151 100644 --- a/components/onc/docs/onc_spec.html +++ b/components/onc/docs/onc_spec.html @@ -1022,6 +1022,22 @@ Disables adaptive compression. </dd> + <dt class="field">IgnoreDefaultRoute</dt> + <dd> + <span class="field_meta"> + (optional, defaults to <span class="value">false</span>) + <span class="type">bool</span> + </span> + Omits a default route to the VPN gateway while the connection is active. + By default, the client creates a default route to the gateway address + advertised by the VPN server. Setting this value to + <span class="value">true</span> will allow split tunnelling for + configurations where the VPN server omits explicit default routes. + This is roughly equivalent to omitting "redirect-gateway" OpenVPN client + configuration option. If the server pushes a "redirect-gateway" + configuration flag to the client, this option is ignored. + </dd> + <dt class="field">KeyDirection</dt> <dd> <span class="field_meta"> diff --git a/components/onc/onc_constants.cc b/components/onc/onc_constants.cc index 260d19a..9155612 100644 --- a/components/onc/onc_constants.cc +++ b/components/onc/onc_constants.cc @@ -260,6 +260,7 @@ const char kAuth[] = "Auth"; const char kCipher[] = "Cipher"; const char kCompLZO[] = "CompLZO"; const char kCompNoAdapt[] = "CompNoAdapt"; +const char kIgnoreDefaultRoute[] = "IgnoreDefaultRoute"; const char kInteract[] = "interact"; const char kKeyDirection[] = "KeyDirection"; const char kNoInteract[] = "nointeract"; diff --git a/components/onc/onc_constants.h b/components/onc/onc_constants.h index c68536a..5732908 100644 --- a/components/onc/onc_constants.h +++ b/components/onc/onc_constants.h @@ -277,6 +277,7 @@ ONC_EXPORT extern const char kAuth[]; ONC_EXPORT extern const char kCipher[]; ONC_EXPORT extern const char kCompLZO[]; ONC_EXPORT extern const char kCompNoAdapt[]; +ONC_EXPORT extern const char kIgnoreDefaultRoute[]; ONC_EXPORT extern const char kInteract[]; ONC_EXPORT extern const char kKeyDirection[]; ONC_EXPORT extern const char kNoInteract[]; |