summaryrefslogtreecommitdiff
path: root/usr.sbin/ospfd/rde_spf.c
diff options
context:
space:
mode:
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);