From 5164f22045ff4ead85971dcc53593d956a984609 Mon Sep 17 00:00:00 2001 From: Henning Brauer Date: Wed, 2 Feb 2005 19:15:08 +0000 Subject: KNF --- usr.sbin/ospfd/rde.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.sbin/ospfd/rde.c') diff --git a/usr.sbin/ospfd/rde.c b/usr.sbin/ospfd/rde.c index ab9e4b8731e..2d48a1e4b2a 100644 --- a/usr.sbin/ospfd/rde.c +++ b/usr.sbin/ospfd/rde.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rde.c,v 1.2 2005/01/28 17:53:33 norby Exp $ */ +/* $OpenBSD: rde.c,v 1.3 2005/02/02 19:15:07 henning Exp $ */ /* * Copyright (c) 2004, 2005 Claudio Jeker @@ -400,7 +400,7 @@ rde_dispatch_imsg(int fd, short event, void *bula) "neighbor %s len %d", inet_ntoa(nbr->id), imsg.hdr.len - IMSG_HEADER_SIZE); - if (imsg.hdr.len != IMSG_HEADER_SIZE + + if (imsg.hdr.len != IMSG_HEADER_SIZE + sizeof(struct lsa_hdr)) fatalx("invalid size of OE request"); memcpy(&lsa_hdr, imsg.data, sizeof(lsa_hdr)); -- cgit v1.2.3