[network-manager-libreswan/lr/main-mode: 5/5] service: avoid setting	the default route to the tunnel
- From: Lubomir Rintel <lkundrak src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [network-manager-libreswan/lr/main-mode: 5/5] service: avoid setting	the default route to the tunnel
- Date: Mon, 25 Jan 2016 15:52:49 +0000 (UTC)
commit d942f394bfaa6ecdb9edaee1bcc3ceb4eecc8a85
Author: Lubomir Rintel <lkundrak v3 sk>
Date:   Mon Jan 25 16:48:28 2016 +0100
    service: avoid setting the default route to the tunnel
 common/utils.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/common/utils.c b/common/utils.c
index 1af8558..2ef0bb1 100644
--- a/common/utils.c
+++ b/common/utils.c
@@ -131,6 +131,7 @@ nm_libreswan_config_write (gint fd,
        write_config_option (fd, " rightxauthserver=yes\n");
        write_config_option (fd, " rightmodecfgserver=yes\n");
        write_config_option (fd, " modecfgpull=yes\n");
+       write_config_option (fd, " rightsubnet=0.0.0.0/0\n");
 
        phase1_alg_str = nm_setting_vpn_get_data_item (s_vpn, NM_LIBRESWAN_IKE);
        if (!phase1_alg_str || !strlen (phase1_alg_str))
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]