summaryrefslogtreecommitdiff
path: root/usr.sbin/ppp
diff options
context:
space:
mode:
authorBrian Somers <brian@FreeBSD.org>2006-09-06 06:23:55 +0000
committerBrian Somers <brian@FreeBSD.org>2006-09-06 06:23:55 +0000
commit3026fd06cae85f8968602417b4c85304637d7923 (patch)
tree03c8705ae442502dda32496854cf957ae6f813a7 /usr.sbin/ppp
parentbddd24cd9c3e6144282ff7eaa92a3ad032e5be7b (diff)
Notes
Diffstat (limited to 'usr.sbin/ppp')
-rw-r--r--usr.sbin/ppp/lcp.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/usr.sbin/ppp/lcp.c b/usr.sbin/ppp/lcp.c
index d0c15fce2540..cf757186d311 100644
--- a/usr.sbin/ppp/lcp.c
+++ b/usr.sbin/ppp/lcp.c
@@ -792,6 +792,9 @@ LcpDecodeConfig(struct fsm *fp, u_char *cp, u_char *end, int mode_type,
break;
case MODE_REJ:
lcp->his_reject |= (1 << opt->hdr.id);
+ /* Set the MTU to what we want anyway - the peer won't care! */
+ if (lcp->his_mru > lcp->want_mru)
+ lcp->his_mru = lcp->want_mru;
break;
}
break;