summaryrefslogtreecommitdiff
path: root/accel-pppd/ctrl
diff options
context:
space:
mode:
Diffstat (limited to 'accel-pppd/ctrl')
-rw-r--r--accel-pppd/ctrl/ipoe/ipoe.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/accel-pppd/ctrl/ipoe/ipoe.c b/accel-pppd/ctrl/ipoe/ipoe.c
index 0dca96e..a32b87a 100644
--- a/accel-pppd/ctrl/ipoe/ipoe.c
+++ b/accel-pppd/ctrl/ipoe/ipoe.c
@@ -461,6 +461,9 @@ static void ipoe_change_l4_redirect(struct ipoe_session *ses, int del)
ses->l4_redirect_set = 1;
}
}
+
+ if (del && ses->l4_redirect_timer.tpd)
+ triton_timer_del(&ses->l4_redirect_timer);
}
static void ipoe_change_addr(struct ipoe_session *ses, in_addr_t newaddr)