method_eap: Add EAP Success/Failure support
Although, EapHost takes care for EAP Success and Failure packets for us, it does so for the outer-most method only. When using EAP inside a TLS tunnel, we are responsible for EAP Success and Failure packets ourselves. Signed-off-by: Simon Rozman <simon@rozman.si>
This commit is contained in:
@@ -319,9 +319,11 @@ namespace eap
|
||||
///
|
||||
enum class phase_t {
|
||||
unknown = -1, ///< Unknown phase
|
||||
identity = 0, ///< Send identity
|
||||
init = 0, ///< Initialize
|
||||
identity, ///< Send identity
|
||||
inner, ///< Send inner method response
|
||||
nak, ///< Send Legacy Nak response
|
||||
finished, ///< EAP Success packet received
|
||||
} m_phase; ///< What phase is our communication at?
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user