projects
/
ppp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
176cafe
)
fix bug causing Solaris crashes
author
Paul Mackerras
<paulus@samba.org>
Mon, 14 Jul 1997 03:51:15 +0000
(
03:51
+0000)
committer
Paul Mackerras
<paulus@samba.org>
Mon, 14 Jul 1997 03:51:15 +0000
(
03:51
+0000)
modules/ppp.c
patch
|
blob
|
history
diff --git
a/modules/ppp.c
b/modules/ppp.c
index f2257eeaf5db33cab887f873551a51a302d470c9..57bf02a27b2001027436cab1598c2d477f3f6258 100644
(file)
--- a/
modules/ppp.c
+++ b/
modules/ppp.c
@@
-24,7
+24,7
@@
* OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS,
* OR MODIFICATIONS.
*
* OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS,
* OR MODIFICATIONS.
*
- * $Id: ppp.c,v 1.1
1 1997/05/22 06:45:32
paulus Exp $
+ * $Id: ppp.c,v 1.1
2 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;
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
info->dl_min_sdu = 1;
info->dl_addr_length = sizeof(ulong);
#ifdef DL_OTHER