1 diff -Naur IRRToolSet-original/src/normalform/NE.cc IRRToolSet/src/normalform/NE.cc
2 --- IRRToolSet-original/src/normalform/NE.cc 2004-08-05 11:21:20.000000000 +0200
3 +++ IRRToolSet/src/normalform/NE.cc 2004-08-05 11:13:37.000000000 +0200
7 // Copyright (c) 2001,2002 RIPE NCC
11 if (typeid(*ptree) == typeid(FilterAFI)) {
13 ne = evaluate(((FilterAFI *) ptree)->f, peerAS, expand);
14 - ne->restrict((FilterAFI *) ptree);
15 + if ((ne->singleton_flag == NormalTerm::PRFX) ||
16 + (ne->singleton_flag == NormalTerm::IPV6_PRFX))
17 + ne->restrict((FilterAFI *) ptree);
18 Debug(Channel(DBG_NOT) << "op1: " << *ne << "\n");
19 Debug(Channel(DBG_NOT) << "afi: " << *ne << "\n");