X-Git-Url: http://lists.indexdata.com/cgi-bin?a=blobdiff_plain;f=src%2Fex_filter_frontend_net.cpp;h=9c66b3766c3aea1cef3f58e1ecb2254751f1c5d0;hb=85189f2d04df4cfc8b16ee78187fb89d00dfe3ff;hp=f83247203bbc8ba11d3c1231dec51b48848f838b;hpb=1c5e3c3f45380b6ad370fa7ba6c2b8239c21071c;p=metaproxy-moved-to-github.git diff --git a/src/ex_filter_frontend_net.cpp b/src/ex_filter_frontend_net.cpp index f832472..9c66b37 100644 --- a/src/ex_filter_frontend_net.cpp +++ b/src/ex_filter_frontend_net.cpp @@ -1,4 +1,4 @@ -/* $Id: ex_filter_frontend_net.cpp,v 1.31 2008-02-20 10:51:11 adam Exp $ +/* $Id: ex_filter_frontend_net.cpp,v 1.32 2008-02-20 15:07:51 adam Exp $ Copyright (c) 2005-2007, Index Data. This file is part of Metaproxy. @@ -106,11 +106,11 @@ int main(int argc, char **argv) // put frontend filter in router mp::filter::FrontendNet filter_front; - filter_front.ports() = ports; + filter_front.set_ports(ports); // 0=no time, >0 timeout in seconds if (duration != -1) - filter_front.listen_duration() = duration; + filter_front.set_listen_duration(duration); router.append(filter_front);