Changed ip char to const char