On the flow in a uniformly porous pipe