$NetBSD: patch-cp,v 1.1 2007/05/22 12:17:57 spz Exp $ --- ./src/rpsl/rpsl/prefix.cc.orig 2007-02-09 20:46:31.000000000 +0100 +++ ./src/rpsl/rpsl/prefix.cc @@ -278,7 +278,7 @@ bool PrefixRange::makeMoreSpecific(int c default: // ^n-m if (_m < n || _m < n) return false; - n = (_n >? n); + n = (_n > n) ? _n : n; m = _m; } @@ -705,7 +705,7 @@ bool IPv6PrefixRange::makeMoreSpecific(i default: // ^n-m if (_m < n || _m < n) return false; - n = (_n >? n); + n = (_n > n) ? _n : n; m = _m; }