diff options
author | Ryan Thomas McBride <mcbride@cvs.openbsd.org> | 2004-03-24 06:54:05 +0000 |
---|---|---|
committer | Ryan Thomas McBride <mcbride@cvs.openbsd.org> | 2004-03-24 06:54:05 +0000 |
commit | 997c054944bc4036f01d255cfce8fd0e608d3014 (patch) | |
tree | 0b28676d12e66ae3871579d68e155437ba01a930 | |
parent | 10962873c9ed4a0bc8ab3a2e529058b9c4913e88 (diff) |
Correct size in error message. From mickey@
ok deraadt@
-rw-r--r-- | sys/netinet/ip_carp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/ip_carp.c b/sys/netinet/ip_carp.c index b82ad8d883d..319893a3db5 100644 --- a/sys/netinet/ip_carp.c +++ b/sys/netinet/ip_carp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ip_carp.c,v 1.41 2004/03/24 06:13:56 mcbride Exp $ */ +/* $OpenBSD: ip_carp.c,v 1.42 2004/03/24 06:54:04 mcbride Exp $ */ /* * Copyright (c) 2002 Michael Shalayeff. All rights reserved. @@ -336,7 +336,7 @@ carp_input(struct mbuf *m, ...) if (m->m_pkthdr.len < iplen + sizeof(*ch)) { carpstats.carps_badlen++; - CARP_LOG("received len %d < 8", + CARP_LOG("received len %d < 36", m->m_len - sizeof(struct ip)); m_freem(m); return; |