summaryrefslogtreecommitdiff
path: root/proto/pipe/pipe.c
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2014-04-27 00:46:32 +0200
committerOndrej Zajicek <santiago@crfreenet.org>2014-04-27 00:46:32 +0200
commit984d734944a39b70a59f74e57f0e6fc3f720dd48 (patch)
treeaefd4bd4c44651e664764c85460d73644c9ac53c /proto/pipe/pipe.c
parent145368f5474436ad7c48fa26f5bde8108ae5ef4a (diff)
Fixes limit verification during reconfiguration.
Diffstat (limited to 'proto/pipe/pipe.c')
-rw-r--r--proto/pipe/pipe.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/proto/pipe/pipe.c b/proto/pipe/pipe.c
index 2e206038..22381c3d 100644
--- a/proto/pipe/pipe.c
+++ b/proto/pipe/pipe.c
@@ -235,12 +235,14 @@ pipe_reconfigure(struct proto *P, struct proto_config *new)
{
P->main_ahook->out_filter = new->out_filter;
P->main_ahook->in_limit = new->in_limit;
+ proto_verify_limits(P->main_ahook);
}
if (p->peer_ahook)
{
p->peer_ahook->out_filter = new->in_filter;
p->peer_ahook->in_limit = new->out_limit;
+ proto_verify_limits(p->peer_ahook);
}
if ((P->proto_state != PS_UP) || (proto_reconfig_type == RECONFIG_SOFT))