602
592
memset(&hints, 0, sizeof(hints));
603
593
/* port must be numeric, because config file syntax requests this */
604
594
hints.ai_flags = AI_NUMERICSERV;
606
596
hints.ai_socktype = SOCK_STREAM;
607
597
if( (error = getaddrinfo(pData->f_hname, getFwdSyslogPt(pData), &hints, &res)) != 0) {
608
598
pData->eDestState = eDestFORW_UNKN;
612
600
pData->eDestState = eDestFORW;