summaryrefslogtreecommitdiff
path: root/usr.sbin/dvmrpd
diff options
context:
space:
mode:
authorMichele Marchetto <michele@cvs.openbsd.org>2009-01-24 16:25:48 +0000
committerMichele Marchetto <michele@cvs.openbsd.org>2009-01-24 16:25:48 +0000
commit212fb1d9978903081fbfb20dbfda652e0f6f8e5f (patch)
tree19bfb7934b16b707563a8e46ba763c399f07d7d2 /usr.sbin/dvmrpd
parent9e4bb893615e957fb681f13dfb9cbe068a27f507 (diff)
Fix an evil typo.
ok norby@
Diffstat (limited to 'usr.sbin/dvmrpd')
-rw-r--r--usr.sbin/dvmrpd/rde.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/dvmrpd/rde.c b/usr.sbin/dvmrpd/rde.c
index eae0467f5db..578b9706f5c 100644
--- a/usr.sbin/dvmrpd/rde.c
+++ b/usr.sbin/dvmrpd/rde.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rde.c,v 1.8 2009/01/20 01:35:34 todd Exp $ */
+/* $OpenBSD: rde.c,v 1.9 2009/01/24 16:25:47 michele Exp $ */
/*
* Copyright (c) 2004, 2005 Claudio Jeker <claudio@openbsd.org>
@@ -281,7 +281,7 @@ rde_dispatch_imsg(int fd, short event, void *bula)
fatalx("invalid size of OE request");
memcpy(&rn, imsg.data, sizeof(rn));
- if (rde_nbr_find(imsg.hdr.peerid));
+ if (rde_nbr_find(imsg.hdr.peerid))
fatalx("rde_rispatch_imsg: "
"neighbor already exists");
rde_nbr_new(imsg.hdr.peerid, &rn);