Show
Ignore:
Timestamp:
05/22/10 22:22:21 (2 years ago)
Author:
mwhitworth
Message:

Add to network stack.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • Whitix/branches/netchannel/user/sdk/network/dns.c

    r2084 r2086  
    261261        struct Ipv4EndPoint dnsAddr; 
    262262 
     263        /* Don't need to contact any DNS servers for these well-known names */ 
     264        if (!strcmp(name, "localhost")) 
     265        { 
     266                *address = 0x7F000001; 
     267                return 0; 
     268        } 
     269 
    263270        /* FIXME */ 
    264271        dnsAddr.address = 0xC0A801FE;