aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/ppp/nat_cmd.c
diff options
context:
space:
mode:
authorBrian Somers <brian@FreeBSD.org>1999-07-28 19:39:00 +0000
committerBrian Somers <brian@FreeBSD.org>1999-07-28 19:39:00 +0000
commit7722ec20eea771dd4683954c8868d7c470748b1e (patch)
treea88ad9d3477e780025e45a60ebbc21f0ec10a0d9 /usr.sbin/ppp/nat_cmd.c
parent30f41f1f8d5f45a9df042aa873fb535044e67b63 (diff)
downloadsrc-7722ec20eea771dd4683954c8868d7c470748b1e.tar.gz
src-7722ec20eea771dd4683954c8868d7c470748b1e.zip
Notes
Diffstat (limited to 'usr.sbin/ppp/nat_cmd.c')
-rw-r--r--usr.sbin/ppp/nat_cmd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ppp/nat_cmd.c b/usr.sbin/ppp/nat_cmd.c
index 3c9acad46d59..2552f90fa427 100644
--- a/usr.sbin/ppp/nat_cmd.c
+++ b/usr.sbin/ppp/nat_cmd.c
@@ -2,7 +2,7 @@
* The code in this file was written by Eivind Eklund <perhaps@yes.no>,
* who places it in the public domain without restriction.
*
- * $Id: alias_cmd.c,v 1.27 1999/06/10 00:17:26 brian Exp $
+ * $Id: alias_cmd.c,v 1.28 1999/07/24 02:53:39 brian Exp $
*/
#include <sys/param.h>
@@ -403,7 +403,7 @@ alias_LayerPull(struct bundle *bundle, struct link *l, struct mbuf *bp,
case PKT_ALIAS_UNRESOLVED_FRAGMENT:
/* Save the data for later */
fptr = malloc(bp->cnt);
- mbuf_Read(bp, fptr, bp->cnt);
+ bp = mbuf_Read(bp, fptr, bp->cnt);
PacketAliasSaveFragment(fptr);
break;