Changeset 1213

Show
Ignore:
Timestamp:
03/05/10 10:23:42 (5 months ago)
Author:
Gary
Message:

unxsBind added tls and sctp RFC 3263 SRV record protocols.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/unxsBind/tresourcefunc.h

    r1209 r1213  
    531531                        for(x=0;x<strlen(cName);x++) 
    532532                                cName[x]=tolower(cName[x]); 
    533                         if((strstr(cName,"_tcp")==NULL)&&(strstr(cName,"_udp")==NULL)) 
     533                        if((strstr(cName,"_tcp")==NULL)&&(strstr(cName,"_udp")==NULL)&& 
     534                                (strstr(cName,"_tls")==NULL)&&(strstr(cName,"_sctp")==NULL)) 
    534535                        { 
    535536                                guMode=uMode; 
    536                                 tResource("Service protocol required"); 
     537                                tResource("Service protocol required: _tcp, _udp, _tls and _sctp allowed"); 
    537538                        } 
    538539                }