summaryrefslogtreecommitdiffstats
path: root/src/intf.c
diff options
context:
space:
mode:
authorJiri Olsa <Jiri Olsa jolsa@redhat.com>2010-06-04 17:43:50 +0200
committerJiri Olsa <Jiri Olsa jolsa@redhat.com>2010-06-04 17:43:50 +0200
commitf126078bbae246d179f15d9948450a8a8eb96312 (patch)
treef4c72a5be5b731ccb931d213a4c8a9882640a65d /src/intf.c
parent23367a9167c0ee1efb700a474e1a40ac28856da1 (diff)
downloadtsnif-f126078bbae246d179f15d9948450a8a8eb96312.tar.gz
tsnif-f126078bbae246d179f15d9948450a8a8eb96312.tar.xz
tsnif-f126078bbae246d179f15d9948450a8a8eb96312.zip
aliveudp-1
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;