fix ip packet len caculate bug