peer-cfg: Set DPD timeout to at least DPD delay
authorTobias Brunner <tobias@strongswan.org>
Mon, 1 Feb 2016 14:29:25 +0000 (15:29 +0100)
committerTobias Brunner <tobias@strongswan.org>
Mon, 1 Feb 2016 14:29:25 +0000 (15:29 +0100)
commitb4ae9e81f5a457894313b365f1bbcc24c35cbbcc
tree53681e1bf48f04113f15653e2fc249f52d4f905b
parent24ab8530e5e6ec209aff5292026b7d1e84d5ccab
peer-cfg: Set DPD timeout to at least DPD delay

If DPD timeout is set but to a value smaller than the DPD delay the code
in task_manager_v1.c:queue_liveliness_check will run into an integer
underrun.
src/libcharon/config/peer_cfg.c