S2S VPN: Fix one typo at NetUtils

This commit is contained in:
Sheng Yang 2012-08-06 15:26:19 -07:00
parent 6620020477
commit 064198eef9
1 changed files with 1 additions and 1 deletions

View File

@ -1129,7 +1129,7 @@ public class NetUtils {
if (!policy.equals(cipherHash)) {
pfsGroup = policy.split(";")[1];
}
if (pfsGroup != null && !pfsGroup.matches("modp1024|modp1536|")) {
if (pfsGroup != null && !pfsGroup.matches("modp1024|modp1536")) {
return false;
}
}