Skip to content

Commit

Permalink
Fixed permit_only_eap policy
Browse files Browse the repository at this point in the history
  • Loading branch information
qnet-herwin committed Jun 17, 2014
1 parent 7d1fce0 commit 3b2ff3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion raddb/policy.d/eap
Expand Up @@ -61,7 +61,7 @@ permit_only_eap {
# PEAP and EAP-FAST require EAP inside of
# the tunnel, so this check is OK.
# If so, then there MUST be an outer EAP message.
if (outer.request && outer.request:EAP-Message) {
if (!outer.request || !outer.request:EAP-Message) {
reject
}
}
Expand Down

0 comments on commit 3b2ff3f

Please sign in to comment.