diff options
author | Niels Provos <provos@cvs.openbsd.org> | 1998-04-08 10:58:04 +0000 |
---|---|---|
committer | Niels Provos <provos@cvs.openbsd.org> | 1998-04-08 10:58:04 +0000 |
commit | a7eeacf501ef4695c4291a14fa2e674d0a4e6a18 (patch) | |
tree | ff5fffb75f8956ed0735501cce5faa8d4569e8ca | |
parent | 205c04c086d59d1e60906a5f4dd982378a7f739b (diff) |
fix encap notifies.
-rw-r--r-- | sys/net/encap.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/net/encap.c b/sys/net/encap.c index 6aba6ad6dd6..d99914d9fc8 100644 --- a/sys/net/encap.c +++ b/sys/net/encap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: encap.c,v 1.20 1998/02/22 01:23:29 niklas Exp $ */ +/* $OpenBSD: encap.c,v 1.21 1998/04/08 10:58:03 provos Exp $ */ /* * The author of this code is John Ioannidis, ji@tla.org, @@ -888,7 +888,8 @@ encap_sendnotify(int subtype, struct tdb *tdbp) log(LOG_ERR, "encap_sendnotify(): m_gethdr() returned NULL\n"); return; } - + + m->m_len = min(MLEN, em.em_msglen); m_copyback(m, 0, em.em_msglen, (caddr_t) &em); raw_input(m, &encap_proto, &encap_src, &encap_dst); |