From 984d734944a39b70a59f74e57f0e6fc3f720dd48 Mon Sep 17 00:00:00 2001 From: Ondrej Zajicek Date: Sun, 27 Apr 2014 00:46:32 +0200 Subject: Fixes limit verification during reconfiguration. --- proto/pipe/pipe.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'proto') 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)) -- cgit v1.2.3