Introduce name resolution interface and named socket opener.
[people/dverkamp/gpxe.git] / src / net / udp / dns.c
index ee6a58b..2268052 100644 (file)
@@ -486,7 +486,7 @@ int dns_resolv ( const char *name, struct sockaddr *sa,
 }
 
 /** DNS name resolver */
-struct resolver dns_resolver __resolver = {
+struct resolver dns_resolver __resolver ( RESOLV_NORMAL ) = {
        .name = "DNS",
        .resolv = dns_resolv,
 };