Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
tko
NetworkManager-fortisslvpn
Commits
88fe44be
Commit
88fe44be
authored
Apr 04, 2020
by
tko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Closes:
GNOME/NetworkManager-fortisslvpn#20
parent
71f63cf9
Pipeline
#167183
passed with stages
in 6 minutes and 14 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
src/nm-fortisslvpn-service.c
src/nm-fortisslvpn-service.c
+5
-0
No files found.
src/nm-fortisslvpn-service.c
View file @
88fe44be
...
...
@@ -210,6 +210,7 @@ run_openfortivpn (NMFortisslvpnPlugin *plugin, NMSettingVpn *s_vpn, GError **err
GPtrArray
*
argv
;
const
char
*
value
;
gs_free
char
*
str_tmp
=
NULL
;
NMSettingIPConfig
*
ip4_config
;
openfortivpn
=
nm_find_openfortivpn
();
if
(
!
openfortivpn
)
{
...
...
@@ -229,6 +230,10 @@ run_openfortivpn (NMFortisslvpnPlugin *plugin, NMSettingVpn *s_vpn, GError **err
g_ptr_array_add
(
argv
,
(
gpointer
)
g_strdup
(
"--no-routes"
));
g_ptr_array_add
(
argv
,
(
gpointer
)
g_strdup
(
"--no-dns"
));
ip4_config
=
nm_connection_get_setting_ip4_config
(
priv
->
connection
);
if
(
!
nm_setting_ip_config_get_ignore_auto_dns
(
ip4_config
))
{
g_ptr_array_add
(
argv
,
(
gpointer
)
g_strdup
(
"--pppd-use-peerdns=1"
));
}
value
=
nm_setting_vpn_get_data_item
(
s_vpn
,
NM_FORTISSLVPN_KEY_GATEWAY
);
g_ptr_array_add
(
argv
,
(
gpointer
)
g_strdup
(
value
));
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment