summaryrefslogtreecommitdiff
path: root/usr.sbin/ospfd/rde.c
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2005-02-02 19:15:08 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2005-02-02 19:15:08 +0000
commit5164f22045ff4ead85971dcc53593d956a984609 (patch)
treea08bcabbc07cebf8040ed1c70421ce3e4d6a3bb3 /usr.sbin/ospfd/rde.c
parentedb3ea6975f6433dca5a6198ed41066adbc60b5f (diff)
KNF
Diffstat (limited to 'usr.sbin/ospfd/rde.c')
-rw-r--r--usr.sbin/ospfd/rde.c4
1 files changed, 2 insertions, 2 deletions
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 <claudio@openbsd.org>
@@ -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));