~ubuntu-branches/debian/sid/kamailio/sid

« back to all changes in this revision

Viewing changes to name_alias.h

  • Committer: Package Import Robot
  • Author(s): Victor Seva
  • Date: 2014-01-06 11:47:13 UTC
  • mfrom: (1.1.5)
  • Revision ID: package-import@ubuntu.com-20140106114713-t8xidp4arzrnyeya
Tags: 4.1.1-1
* New upstream release
* debian/patches:
  - add upstream fixes
* Added tls outbound websocket autheph dnssec modules
  - openssl exception added to their license
* removing sparc and ia64 from supported archs
  for mono module (Closes: #728915)

Show diffs side-by-side

added added

removed removed

Lines of Context:
59
59
{
60
60
        struct  host_alias* a;
61
61
        
62
 
#ifdef USE_IPV6
63
62
        if ((len>2)&&((*name)=='[')&&(name[len-1]==']')){
64
63
                /* ipv6 reference, skip [] */
65
64
                name++;
66
65
                len-=2;
67
66
        }
68
 
#endif
69
67
        for(a=aliases;a;a=a->next)
70
68
                if ((a->alias.len==len) && ((a->port==0) || (port==0) || 
71
69
                                (a->port==port)) && ((a->proto==0) || (proto==0) ||