diff options
author | Dmitry Kozlov <xeb@mail.ru> | 2016-04-11 21:21:59 +0300 |
---|---|---|
committer | Dmitry Kozlov <xeb@mail.ru> | 2016-04-11 21:21:59 +0300 |
commit | f285b9e7bd4c8d1eada3ca315618bbd8f9401e4b (patch) | |
tree | de5a905a9f542534010cecb0290147baa341e198 /accel-pppd/ctrl | |
parent | 7b849ea41cc2580b477f718fbc833506296347e9 (diff) | |
download | accel-ppp-f285b9e7bd4c8d1eada3ca315618bbd8f9401e4b.tar.gz accel-ppp-f285b9e7bd4c8d1eada3ca315618bbd8f9401e4b.zip |
Revert "pppoe: do not negotiate LCP MRU option if it is larger than 1492"
This reverts commit fc098b3062badfd802f91241533069cad4886b6f.
Diffstat (limited to 'accel-pppd/ctrl')
-rw-r--r-- | accel-pppd/ctrl/pppoe/pppoe.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/accel-pppd/ctrl/pppoe/pppoe.c b/accel-pppd/ctrl/pppoe/pppoe.c index c130f84..a4d1ca9 100644 --- a/accel-pppd/ctrl/pppoe/pppoe.c +++ b/accel-pppd/ctrl/pppoe/pppoe.c @@ -341,7 +341,6 @@ static struct pppoe_conn_t *allocate_channel(struct pppoe_serv_t *serv, const ui conn->ctrl.finished = ppp_finished; conn->ctrl.terminate = ppp_terminate; conn->ctrl.max_mtu = min(ETH_DATA_LEN, serv->mtu) - 8; - conn->ctrl.no_lcp_mru = conn->ctrl.max_mtu > (ETH_DATA_LEN - 8); conn->ctrl.type = CTRL_TYPE_PPPOE; conn->ctrl.ppp = 1; conn->ctrl.name = "pppoe"; |