aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo_server_main.c
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2011-06-01 14:02:54 +0200
committerHolger Hans Peter Freyther <zecke@selfish.org>2011-06-01 14:02:54 +0200
commit88c07f2b7e9ac6a3c3216c00cd3ec8baba070ffe (patch)
tree431388e6d6ace924e6c7609395d709befae33d93 /src/osmo_server_main.c
parent80b8b606c5d77b43bf748e523ccf49cd5b8b97cf (diff)
osmo-pcap-server: Prepare a file limit, initialize the base path
Diffstat (limited to 'src/osmo_server_main.c')
-rw-r--r--src/osmo_server_main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/osmo_server_main.c b/src/osmo_server_main.c
index 082ade2..54a5f00 100644
--- a/src/osmo_server_main.c
+++ b/src/osmo_server_main.c
@@ -185,6 +185,8 @@ int main(int argc, char **argv)
exit(1);
}
INIT_LLIST_HEAD(&pcap_server->conn);
+ pcap_server->base_path = talloc_strdup(pcap_server, "./");
+ pcap_server->max_size = 1073741824;
vty_server_init(pcap_server);
if (vty_read_config_file(config_file, NULL) < 0) {