The patch was taken from https://github.com/xelerance/xl2tpd/pull/125 Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>