From cd2d3db3b765fdaab245196ae34930180c4edb03 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Tue, 31 May 2011 18:39:33 +0200 Subject: osmo-pcap-client: Set the filter string on the pcap device.. --- src/osmo_client_main.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/osmo_client_main.c') 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) { -- cgit v1.2.3