routing policies in RPSL [RFC 2622] format, registered in an Internet Routing Registry(IRR). The main goal of the project is to make routing information more convenient and useful for network engineers, by providing tools for automated router configuration, routing policies analysis, and maintenance.
13 lines
466 B
Text
13 lines
466 B
Text
$NetBSD: patch-aq,v 1.1.1.1 2005/02/28 12:37:29 spz Exp $
|
|
|
|
--- src/rpsl/gnu/PrefixRange.Plex.h.orig 2002-03-27 12:33:00.000000000 +0100
|
|
+++ src/rpsl/gnu/PrefixRange.Plex.h
|
|
@@ -288,7 +288,7 @@ inline PrefixRange* PrefixRangeIChunk::
|
|
|
|
inline int PrefixRangeIChunk:: index_of(const PrefixRange* p) const
|
|
{
|
|
- return ((int)p - (int)data) / sizeof(PrefixRange) + base;
|
|
+ return (p - data) + base;
|
|
}
|
|
|
|
inline int PrefixRangeIChunk:: possible_index(int i) const
|