Committed by
Gerrit Code Review
Only transition to START state on TLS start
Change-Id: Iafcf9dff625d8aac874d28ff23b5328beda28d2a
Showing
1 changed file
with
2 additions
and
1 deletions
| ... | @@ -397,8 +397,9 @@ public class AAA { | ... | @@ -397,8 +397,9 @@ public class AAA { |
| 397 | radiusPayload.addMessageAuthenticator(AAA.this.radiusSecret); | 397 | radiusPayload.addMessageAuthenticator(AAA.this.radiusSecret); |
| 398 | sendRADIUSPacket(radiusPayload); | 398 | sendRADIUSPacket(radiusPayload); |
| 399 | 399 | ||
| 400 | - // TODO: this gets called on every fragment, should only be called at TLS-Start | 400 | + if (stateMachine.state() != StateMachine.STATE_PENDING) { |
| 401 | stateMachine.requestAccess(); | 401 | stateMachine.requestAccess(); |
| 402 | + } | ||
| 402 | 403 | ||
| 403 | break; | 404 | break; |
| 404 | default: | 405 | default: | ... | ... |
-
Please register or login to post a comment