NINJA problem at BEKKANKO(MIGAWARI)

I seem this line is wrong REMOTE_ADDR sent for ninja server.

P2 REMOTE_ADDR has always same IP address.
But,
It should be sent a P2-client IP address to Ninja server.