Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(581)

Unified Diff: ipsec_manager_test.cc

Issue 6713058: vpn-manager: Fix l2tp/ipsec connections to Windows RRAS server (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/vpn-manager.git@master
Patch Set: Add comment, fix wording. Created 9 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ipsec_manager.cc ('k') | l2tp_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ipsec_manager_test.cc
diff --git a/ipsec_manager_test.cc b/ipsec_manager_test.cc
index 7054980f00655fc6d18debf424195056bc5645bb..37701f21b911c60eb090c1a03a3e6de68c06a48c 100644
--- a/ipsec_manager_test.cc
+++ b/ipsec_manager_test.cc
@@ -220,7 +220,9 @@ void IpsecManagerTestIkeV1Psk::CheckStarter(const std::string& actual) {
const char kExpected[] =
"config setup\n"
"\tcharonstart=no\n"
+ "\tnat_traversal=yes\n"
"conn managed\n"
+ "\tike=3des-sha1-modp1024\n"
"\tkeyexchange=ikev1\n"
"\tauthby=psk\n"
"\tpfs=no\n"
@@ -230,6 +232,7 @@ void IpsecManagerTestIkeV1Psk::CheckStarter(const std::string& actual) {
"\tleftupdown=/usr/libexec/l2tpipsec_vpn/pluto_updown\n"
"\tright=1.2.3.4\n"
"\trightprotoport=17/1701\n"
+ "\ttype=transport\n"
"\tauto=start\n";
EXPECT_EQ(kExpected, actual);
}
« no previous file with comments | « ipsec_manager.cc ('k') | l2tp_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698