X-Git-Url: http://lists.indexdata.com/cgi-bin?a=blobdiff_plain;f=src%2Fex_filter_frontend_net.cpp;h=9c66b3766c3aea1cef3f58e1ecb2254751f1c5d0;hb=30600b6263ade7ccac79d3be8bbc4342d9af2ab8;hp=f83247203bbc8ba11d3c1231dec51b48848f838b;hpb=57986809b87d5223f962099176c69346da43eb99;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);