$NetBSD: patch-di,v 1.3 2009/03/15 20:10:36 spz Exp $ --- src/irr/birdwhoisc.cc.orig 2006-10-09 18:05:14.000000000 +0200 +++ src/irr/birdwhoisc.cc @@ -429,7 +429,11 @@ int BirdWhoisClient::getSourceOrigin(cha AttrGenericIterator itrOrigin(itrObject, "origin"); AttrGenericIterator itrSource(itrObject, "source"); if (itrOrigin && itrSource) - cBuffer.append("%s AS%d\n", itrSource()->word, itrOrigin()->asno); + { + char buf[64]; + asnum_string_dot(buf, itrOrigin()->asno); + cBuffer.append("%s %s\n", itrSource()->word, buf); + } } } if (cBuffer.empty())