X-Git-Url: http://sru.miketaylor.org.uk/?a=blobdiff_plain;f=src%2Fex_filter_frontend_net.cpp;h=41813aff3257cddd939386d03d072ae4f57c2e4f;hb=a27375762602ee41a01282b59aae617c0764b38b;hp=23c5aa19d48f22bb7e7a159b5d268aa91e2026e3;hpb=941d13b6a4dc2c2dd0e4bda89d380bfd8991b03b;p=metaproxy-moved-to-github.git diff --git a/src/ex_filter_frontend_net.cpp b/src/ex_filter_frontend_net.cpp index 23c5aa1..41813af 100644 --- a/src/ex_filter_frontend_net.cpp +++ b/src/ex_filter_frontend_net.cpp @@ -9,6 +9,7 @@ namespace po = boost::program_options; #include "config.hpp" #include "filter_frontend_net.hpp" +#include "filter_log.hpp" #include "router.hpp" #include "session.hpp" @@ -94,7 +95,7 @@ int main(int argc, char **argv) yp2::RouterChain router; - // put in frontend first + // put frontend filter in router yp2::FilterFrontendNet filter_front; filter_front.ports() = ports; @@ -104,7 +105,11 @@ int main(int argc, char **argv) } router.rule(filter_front); - // put in a backend + // put log filter in router + yp2::FilterLog filter_log; + router.rule(filter_log); + + // put backend init filter in router FilterInit filter_init; router.rule(filter_init);