Fix a bug with IP forwarding