We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1affa97 commit f691c22Copy full SHA for f691c22
pppd/plugins/pppoe/plugin.c
@@ -453,11 +453,6 @@ void pppoe_check_options(void)
453
lcp_allowoptions[0].neg_pcompression = 0;
454
lcp_wantoptions[0].neg_pcompression = 0;
455
456
- if (lcp_allowoptions[0].mru > MAX_PPPOE_MTU)
457
- lcp_allowoptions[0].mru = MAX_PPPOE_MTU;
458
- if (lcp_wantoptions[0].mru > MAX_PPPOE_MTU)
459
- lcp_wantoptions[0].mru = MAX_PPPOE_MTU;
460
-
461
/* Save configuration */
462
conn->storedmtu = lcp_allowoptions[0].mru;
463
conn->storedmru = lcp_wantoptions[0].mru;
0 commit comments