aboutsummaryrefslogtreecommitdiff
path: root/multi.c
diff options
context:
space:
mode:
authorjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2006-06-11 04:22:11 +0000
committerjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2006-06-11 04:22:11 +0000
commit838911cc424dcc0c03db1e9b256965976068c1a1 (patch)
tree91f58a1f1f5bb6ad18a44dfbdef711de5d63d7a4 /multi.c
parentA few more updates: (diff)
downloadopenvpn-838911cc424dcc0c03db1e9b256965976068c1a1.tar.xz
Added optional minimum-number-of-bytes
parameter to --inactive directive. git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@1036 e7ae566f-a301-0410-adde-c780ea21d3b5
Diffstat (limited to 'multi.c')
-rw-r--r--multi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/multi.c b/multi.c
index f0b630b..45ca7d1 100644
--- a/multi.c
+++ b/multi.c
@@ -1801,7 +1801,7 @@ multi_process_incoming_link (struct multi_context *m, struct multi_instance *ins
if (mi)
{
multi_unicast (m, &c->c2.to_tun, mi);
- register_activity (c);
+ register_activity (c, BLEN(&c->c2.to_tun));
c->c2.to_tun.len = 0;
}
}
@@ -1834,7 +1834,7 @@ multi_process_incoming_link (struct multi_context *m, struct multi_instance *ins
if (mi)
{
multi_unicast (m, &c->c2.to_tun, mi);
- register_activity (c);
+ register_activity (c, BLEN(&c->c2.to_tun));
c->c2.to_tun.len = 0;
}
}