Enable virt db for ex_filter_frontend_net
authorAdam Dickmeiss <adam@indexdata.dk>
Fri, 9 Dec 2005 11:27:59 +0000 (11:27 +0000)
committerAdam Dickmeiss <adam@indexdata.dk>
Fri, 9 Dec 2005 11:27:59 +0000 (11:27 +0000)
src/ex_filter_frontend_net.cpp

index a124e6a..38ac433 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: ex_filter_frontend_net.cpp,v 1.18 2005-11-14 23:35:22 adam Exp $
+/* $Id: ex_filter_frontend_net.cpp,v 1.19 2005-12-09 11:27:59 adam Exp $
    Copyright (c) 2005, Index Data.
 
 %LICENSE%
@@ -105,10 +105,10 @@ int main(int argc, char **argv)
             yp2::filter::Virt_db filter_virt_db;
             filter_virt_db.add_map_db2vhost("gils", "indexdata.dk/gils");
             filter_virt_db.add_map_db2vhost("Default", "localhost:9100/Default");
-//         router.append(filter_virt_db);
+           router.append(filter_virt_db);
 
-            yp2::filter::Session_shared filter_session_shared;
-           router.append(filter_session_shared);
+//            yp2::filter::Session_shared filter_session_shared;
+//         router.append(filter_session_shared);
 
             yp2::filter::Log filter_log_back("BACK");
             router.append(filter_log_back);