summaryrefslogtreecommitdiff
path: root/usr.sbin/dvmrpd/rde_srt.c
diff options
context:
space:
mode:
authorTodd T. Fries <todd@cvs.openbsd.org>2009-01-20 01:35:35 +0000
committerTodd T. Fries <todd@cvs.openbsd.org>2009-01-20 01:35:35 +0000
commit956306db9d4ab397a2c2e0d8a08f08b89259d642 (patch)
tree0031f245b6a0fda1010f57684b9deba4f60e864e /usr.sbin/dvmrpd/rde_srt.c
parent931bd9afdef68553b8a16d6a6a988f9c047722a0 (diff)
revert earlier commit that broke the tree
Diffstat (limited to 'usr.sbin/dvmrpd/rde_srt.c')
-rw-r--r--usr.sbin/dvmrpd/rde_srt.c15
1 files changed, 1 insertions, 14 deletions
diff --git a/usr.sbin/dvmrpd/rde_srt.c b/usr.sbin/dvmrpd/rde_srt.c
index 0f2a81b2be0..c0b08498ece 100644
--- a/usr.sbin/dvmrpd/rde_srt.c
+++ b/usr.sbin/dvmrpd/rde_srt.c
@@ -1,7 +1,6 @@
-/* $OpenBSD: rde_srt.c,v 1.14 2009/01/19 20:52:09 michele Exp $ */
+/* $OpenBSD: rde_srt.c,v 1.15 2009/01/20 01:35:34 todd Exp $ */
/*
- * Copyright (c) 2009 Michele Marchetto <michele@openbsd.org>
* Copyright (c) 2005, 2006 Esben Norby <norby@openbsd.org>
*
* Permission to use, copy, modify, and distribute this software for any
@@ -163,18 +162,6 @@ rt_find(in_addr_t prefix, u_int8_t prefixlen)
}
struct rt_node *
-rt_matchorigin(in_addr_t src)
-{
- struct rt_node *r;
-
- RB_FOREACH(r, rt_tree, &rt)
- if (r->prefix.s_addr == (src & prefixlen2mask(r->prefixlen)))
- return (r);
-
- return (NULL);
-}
-
-struct rt_node *
rr_new_rt(struct route_report *rr, u_int32_t adj_metric, int connected)
{
struct timespec now;