Fix buffer overflow reported by cinap_lenrek@gmx.de: "1:2:3:4:5:6:6:255.255.255.255 writes two bytes beyond the ip buffer".