aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo_client_main.c
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2011-05-31 18:39:33 +0200
committerHolger Hans Peter Freyther <zecke@selfish.org>2011-05-31 21:19:51 +0200
commitcd2d3db3b765fdaab245196ae34930180c4edb03 (patch)
treecd53bcbe4c3959266f31b195609808a7e8f99335 /src/osmo_client_main.c
parentbac0c98d22b9db20b4def3976c06618e190218de (diff)
osmo-pcap-client: Set the filter string on the pcap device..
Diffstat (limited to 'src/osmo_client_main.c')
-rw-r--r--src/osmo_client_main.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/osmo_client_main.c b/src/osmo_client_main.c
index 96f01ee..9c889ee 100644
--- a/src/osmo_client_main.c
+++ b/src/osmo_client_main.c
@@ -187,6 +187,13 @@ int main(int argc, char **argv)
pcap_client->fd.fd = -1;
vty_client_init(pcap_client);
+
+ if (vty_read_config_file(config_file, NULL) < 0) {
+ LOGP(DCLIENT, LOGL_ERROR,
+ "Failed to parse the config file: %s\n", config_file);
+ exit(1);
+ }
+
if (daemonize) {
rc = osmo_daemonize();
if (rc < 0) {