summaryrefslogtreecommitdiffstats
path: root/src/intf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/intf.c')
-rw-r--r--src/intf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/intf.c b/src/intf.c
index e03b41a..a464e4e 100644
--- a/src/intf.c
+++ b/src/intf.c
@@ -95,7 +95,7 @@ static int init_mgroup(struct tsnif_handle *h)
return trans_send(&h->trans, &msg);
}
-int tsnif_init(struct tsnif_handle *h, struct tsnif_ops *ops)
+int tsnif_init(struct tsnif_handle *h, struct tsnif_ops *ops, int trans_flags)
{
int err;
@@ -106,7 +106,7 @@ int tsnif_init(struct tsnif_handle *h, struct tsnif_ops *ops)
h->ops = ops;
INIT_LIST_HEAD(&h->terms);
- err = trans_init(&h->trans, trans_cb);
+ err = trans_init(&h->trans, trans_cb, trans_flags);
if (err)
return err;