It definitely only gets the external IP for my work PC here - perhaps your firewall isn't using NAT and you have a public IP address range on your internal network?
Unless it's using javascript to show you your own IP, I don't even know how it would be possible for a server on the internet to know your internal IP.