getword_start(&gwarea,inet_ntoa(ia));
if (getword(n4,sizeof(n4),&gwarea,'.')<0 || getword(n3,sizeof(n3),&gwarea,'.')<0 ||
getword(n2,sizeof(n2),&gwarea,'.')<0 || getword(n1,sizeof(n1),&gwarea,0)<0) {
- printf("SARG: Maybe you have a broken record or garbage in your %s ip address.\n",gwarea.beginning);
+ debuga(_("Invalid IPv4 address \"%s\"\n"),gwarea.beginning);
exit(EXIT_FAILURE);
}
snprintf(name,name_size,"%s.%s.%s.%s",n1,n2,n3,n4);
i+=2;
} else {
if (j>=sizeof(cmd)) {
- debuga(_("IP address \"%.*s\" too long for the command to run\n"),ip_len,ip);
+ debuga(_("IP address \"%s\" too long for the command to run\n"),ip);
return(INRC_Error);
}
cmd[j++]=ExecCmd[i];