From ca3511a8e732de60bef2e0042967a9142098d6dd Mon Sep 17 00:00:00 2001 From: Vadim Kurland Date: Tue, 10 Jun 2008 23:43:48 +0000 Subject: [PATCH] id, name and comment are member vars in FWObject --- src/ipt/RoutingCompiler_ipt_writers.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ipt/RoutingCompiler_ipt_writers.cpp b/src/ipt/RoutingCompiler_ipt_writers.cpp index a77a988f9..179ff55b1 100644 --- a/src/ipt/RoutingCompiler_ipt_writers.cpp +++ b/src/ipt/RoutingCompiler_ipt_writers.cpp @@ -309,7 +309,7 @@ string RoutingCompiler_ipt::PrintRule::_printRItf(RoutingRule *rule) ref=itfrel->front(); Interface *itf=Interface::cast(FWReference::cast(ref)->getPointer()); - if(itf != NULL) return "dev " + itf->getStr("name") + " "; + if(itf != NULL) return "dev " + itf->getName() + " "; else return ""; }