diff options
author | Paul Mackerras <paulus@samba.org> | 1997-07-14 03:51:15 +0000 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 1997-07-14 03:51:15 +0000 |
commit | 16b34a2fc4f177d3eaf1e0e3400fb687fde2f401 (patch) | |
tree | 279f09d620a840f2234bcfd2002ee714f333753e /modules | |
parent | 176cafe278ae1386723020bb00187e2f93939f99 (diff) | |
download | ppp-16b34a2fc4f177d3eaf1e0e3400fb687fde2f401.tar.gz |
fix bug causing Solaris crashes
Diffstat (limited to 'modules')
-rw-r--r-- | modules/ppp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/ppp.c b/modules/ppp.c index f2257ee..57bf02a 100644 --- a/modules/ppp.c +++ b/modules/ppp.c @@ -24,7 +24,7 @@ * OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, * OR MODIFICATIONS. * - * $Id: ppp.c,v 1.11 1997/05/22 06:45:32 paulus Exp $ + * $Id: ppp.c,v 1.12 1997/07/14 03:51:15 paulus Exp $ */ /* @@ -934,7 +934,7 @@ dlpi_request(q, mp, us) reply->b_wptr += sizeof(dl_info_ack_t); bzero((caddr_t) info, sizeof(dl_info_ack_t)); info->dl_primitive = DL_INFO_ACK; - info->dl_max_sdu = us->ppa->mtu; + info->dl_max_sdu = us->ppa? us->ppa->mtu: PPP_MAXMTU; info->dl_min_sdu = 1; info->dl_addr_length = sizeof(ulong); #ifdef DL_OTHER |