]> rtime.felk.cvut.cz Git - frescor/frsh-forb.git/blobdiff - src/fwp/fwp/mngr/fwp_mngr.c
hack: Add fixed reference to wifi_agent to all FORBs
[frescor/frsh-forb.git] / src / fwp / fwp / mngr / fwp_mngr.c
index c94328ae063c82f4907b01f912e9794f2203335e..5fd03a017bd80862a6e05ca46d774328df52cea4 100644 (file)
@@ -55,6 +55,7 @@
 #include <fwp_res.h>
 #include <stdio.h>
 #include "fwp_admctrl.h"
+#include <wifi_agent.h>
 
 #if 0
 static
@@ -122,7 +123,9 @@ int main(int argc, char *argv[])
 {
        forb_orb orb;
        int ret;
-       forb_init_attr_t attr = { .orb_id = "org.frescor.frm.fwp" };
+       forb_init_attr_t attr = { .orb_id = "org.frescor.frm.fwp",
+                                 .fixed_tcp_port = WAI_TCP_PORT,
+       };
        int  opt;
        bool opt_daemon = false;
        char *opt_pidfile = NULL;