From 35f77c58ffe32163d5689e2268a15c29fd31e9d2 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Sun, 26 Jun 2005 23:50:11 +0000 Subject: typo by claudio --- usr.sbin/ospfd/rde_spf.c | 4 ++-- 1 file 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 @@ -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); -- cgit v1.2.3