summaryrefslogtreecommitdiff
path: root/usr.sbin/ospfd/rde_spf.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2005-06-26 23:50:11 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2005-06-26 23:50:11 +0000
commit35f77c58ffe32163d5689e2268a15c29fd31e9d2 (patch)
tree4781da42afc1aa22e452ff836c2f652f6bf381aa /usr.sbin/ospfd/rde_spf.c
parent1118612b6b7d6a559198b8d797d6837b714127d4 (diff)
typo by claudio
Diffstat (limited to 'usr.sbin/ospfd/rde_spf.c')
-rw-r--r--usr.sbin/ospfd/rde_spf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ospfd/rde_spf.c b/usr.sbin/ospfd/rde_spf.c
index 4cbd89b5dc2..f52cb08e593 100644
--- a/usr.sbin/ospfd/rde_spf.c
+++ b/usr.sbin/ospfd/rde_spf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rde_spf.c,v 1.26 2005/06/26 20:44:44 claudio Exp $ */
+/* $OpenBSD: rde_spf.c,v 1.27 2005/06/26 23:50:10 deraadt Exp $ */
/*
* Copyright (c) 2005 Esben Norby <norby@openbsd.org>
@@ -811,7 +811,7 @@ rt_lookup(u_int8_t type, in_addr_t addr)
do {
/* a DT_NET /32 is equivalent to a DT_RTR */
- if ((rn = rt_find(addr & prefixlen2mask(i)), i))
+ if ((rn = rt_find(addr & prefixlen2mask(i), i)))
return (rn);
} while (i-- != 0);