diff options
author | Angelos D. Keromytis <angelos@cvs.openbsd.org> | 1999-01-11 22:52:50 +0000 |
---|---|---|
committer | Angelos D. Keromytis <angelos@cvs.openbsd.org> | 1999-01-11 22:52:50 +0000 |
commit | 39057a310be14fc78ae1ebf07c34423c17272a0b (patch) | |
tree | fd5374c6eedccdb1fa0a8b34c46ccee2272e21da /sys | |
parent | a3476b30db0e80784995c89c23720cc4e4cdeb22 (diff) |
Remove unnecessary panic().
Diffstat (limited to 'sys')
-rw-r--r-- | sys/net/encap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/encap.c b/sys/net/encap.c index b7c35fa7c93..de226379869 100644 --- a/sys/net/encap.c +++ b/sys/net/encap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: encap.c,v 1.25 1999/01/07 06:05:02 deraadt Exp $ */ +/* $OpenBSD: encap.c,v 1.26 1999/01/11 22:52:49 angelos Exp $ */ /* * The authors of this code are John Ioannidis (ji@tla.org), @@ -630,7 +630,7 @@ va_dcl return ENOBUFS; if ((m->m_flags & M_PKTHDR) == 0) - panic("encap_output()"); + SENDERR(EINVAL); len = m->m_pkthdr.len; |