Double link inner-outer methods
This allows inner methods to access method_defrag to get negotiated EAP-TTLS/PEAP protocol version. Signed-off-by: Simon Rozman <simon@rozman.si>
This commit is contained in:
@@ -29,7 +29,8 @@ using namespace winstd;
|
||||
//////////////////////////////////////////////////////////////////////
|
||||
|
||||
eap::method::method(_In_ module &mod) :
|
||||
m_module(mod)
|
||||
m_module(mod),
|
||||
m_outer(nullptr)
|
||||
{
|
||||
}
|
||||
|
||||
@@ -107,6 +108,8 @@ eap::method_tunnel::method_tunnel(_In_ module &mod, _In_ method *inner) :
|
||||
m_inner(inner),
|
||||
method(mod)
|
||||
{
|
||||
assert(m_inner);
|
||||
m_inner->m_outer = this;
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user