EAP server: Add support for configuring fragment size
This commit is contained in:
parent
f3a3e6987e
commit
7f6ec672ea
13 changed files with 22 additions and 5 deletions
|
@ -91,7 +91,8 @@ static void * eap_tnc_init(struct eap_sm *sm)
|
|||
return NULL;
|
||||
}
|
||||
|
||||
data->fragment_size = 1300;
|
||||
data->fragment_size = sm->fragment_size > 100 ?
|
||||
sm->fragment_size - 98 : 1300;
|
||||
|
||||
return data;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue