From: Pablo Neira Ayuso <[email protected]>

Now the BTS and BSC tests work again.
---
 src/input/ipa.c |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/input/ipa.c b/src/input/ipa.c
index a887959..3c6a507 100644
--- a/src/input/ipa.c
+++ b/src/input/ipa.c
@@ -249,6 +249,9 @@ ipa_client_conn_create(void *ctx, struct e1inp_ts *ts,
        /* default to generic write callback if not set. */
        if (write_cb == NULL)
                ipa_link->write_cb = ipa_client_write_default_cb;
+       else
+               ipa_link->write_cb = write_cb;
+
        if (ts)
                ipa_link->line = ts->line;
        ipa_link->data = data;
-- 
1.7.10.4


Reply via email to