Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

ipsec: need these flags to get handshake to work

  • Loading branch information...
Nathan Dorfman
Nathan Dorfman committed Jul 25, 2014
1 parent 79fd238 commit 7cdc1cc0b0d0985916b2c096ef2156db665608dd
Showing with 3 additions and 1 deletion.
  1. +3 −1 src/nm-l2tp-service.c
@@ -1155,7 +1155,9 @@ nm_l2tp_config_write (NML2tpPlugin *plugin,
" pfs=no\n"
" authby=secret\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);
if(value)write_config_option (ipsec_fd, " leftid=@%s\n", value);
/* value = nm_setting_vpn_get_data_item (s_vpn, NM_L2TP_KEY_GATEWAY); */

0 comments on commit 7cdc1cc

Please sign in to comment.
You can’t perform that action at this time.