Skip to content

Commit

Permalink
Detect more IPsec variants
Browse files Browse the repository at this point in the history
  • Loading branch information
jcameron committed Apr 16, 2015
1 parent c378e60 commit 7162dba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ipsec/ipsec-lib.pl
Expand Up @@ -284,7 +284,7 @@ sub get_ipsec_version
{
local $out = `$config{'ipsec'} --version 2>&1`;
${$_[0]} = $out;
return $out =~ /(FreeS\/WAN|Openswan|StrongSWAN)\s+([^ \n\(]+)/i ? ($2,$1) : (undef);
return $out =~ /(FreeS\/WAN|Openswan|StrongSWAN|Libreswan)\s+([^ \n\(]+)/i ? ($2,$1) : (undef);
}

# got_secret()
Expand Down

0 comments on commit 7162dba

Please sign in to comment.