summaryrefslogtreecommitdiffstats
path: root/network/main.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2007-03-16 19:58:29 +0000
committerMarcel Holtmann <marcel@holtmann.org>2007-03-16 19:58:29 +0000
commit7ba9c777c7755dc380443f29f41fcd2a61e1b7df (patch)
tree193345ab4e9c568c4df7545abbc2152c2e57dce1 /network/main.c
parent57821cca7bfdb47cd3ddc32e70b6779a4a6cca2d (diff)
Add minimal support for bridge creation and removal
Diffstat (limited to 'network/main.c')
-rw-r--r--network/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/network/main.c b/network/main.c
index 9b201bf2..5e8f2739 100644
--- a/network/main.c
+++ b/network/main.c
@@ -66,11 +66,11 @@ int main(int argc, char *argv[])
/* Create event loop */
main_loop = g_main_loop_new(NULL, FALSE);
- network_init();
-
if (argc > 1 && !strcmp(argv[1], "-s"))
internal_service("network");
+ network_init();
+
g_main_loop_run(main_loop);
network_exit();