Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
NetworkManager-l2tp
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
CeRiAl
NetworkManager-l2tp
Commits
8c35a9a8
Commit
8c35a9a8
authored
Jul 25, 2014
by
Nathan Dorfman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ipsec: must specify L2TP port selectors for handshake to work
parent
e6a04f62
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
nm-l2tp-service.c
src/nm-l2tp-service.c
+3
-1
No files found.
src/nm-l2tp-service.c
View file @
8c35a9a8
...
@@ -1161,7 +1161,9 @@ nm_l2tp_config_write (NML2tpPlugin *plugin,
...
@@ -1161,7 +1161,9 @@ nm_l2tp_config_write (NML2tpPlugin *plugin,
" pfs=no
\n
"
" pfs=no
\n
"
" authby=secret
\n
"
" authby=secret
\n
"
" keyingtries=0
\n
"
" keyingtries=0
\n
"
" left=%%defaultroute
\n
"
);
" left=%%defaultroute
\n
"
" leftprotoport=udp/l2tp
\n
"
" rightprotoport=udp/l2tp
\n
"
);
value
=
nm_setting_vpn_get_data_item
(
s_vpn
,
NM_L2TP_KEY_IPSEC_GROUP_NAME
);
value
=
nm_setting_vpn_get_data_item
(
s_vpn
,
NM_L2TP_KEY_IPSEC_GROUP_NAME
);
if
(
value
)
write_config_option
(
ipsec_fd
,
" leftid=@%s
\n
"
,
value
);
if
(
value
)
write_config_option
(
ipsec_fd
,
" leftid=@%s
\n
"
,
value
);
/* value = nm_setting_vpn_get_data_item (s_vpn, NM_L2TP_KEY_GATEWAY); */
/* value = nm_setting_vpn_get_data_item (s_vpn, NM_L2TP_KEY_GATEWAY); */
...
...
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