From 9571ef8dc50cd41880218f5bcb241c799f5822bb Mon Sep 17 00:00:00 2001 From: Othmar Gsenger Date: Wed, 18 Feb 2009 09:41:14 +0000 Subject: fixed routing table sorting for correct build of routing tree --- src/networkPrefix.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/networkPrefix.cpp') diff --git a/src/networkPrefix.cpp b/src/networkPrefix.cpp index 3efdcdd..045b251 100644 --- a/src/networkPrefix.cpp +++ b/src/networkPrefix.cpp @@ -62,9 +62,8 @@ bool NetworkPrefix::operator<(const NetworkPrefix &right) const { if (network_address_type_!=right.network_address_type_) return false; - if (NetworkAddress::operator<(static_cast(right))) - return true; - static_cast(right)(*this); - return (right.length_(*this)(right); } -- cgit v1.2.3