From 39057a310be14fc78ae1ebf07c34423c17272a0b Mon Sep 17 00:00:00 2001 From: "Angelos D. Keromytis" Date: Mon, 11 Jan 1999 22:52:50 +0000 Subject: Remove unnecessary panic(). --- sys/net/encap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/net') 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; -- cgit v1.2.3