summaryrefslogtreecommitdiffstats
path: root/src/net/udp/dns.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/udp/dns.c')
-rw-r--r--src/net/udp/dns.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/net/udp/dns.c b/src/net/udp/dns.c
index b141eea4..f32b2e05 100644
--- a/src/net/udp/dns.c
+++ b/src/net/udp/dns.c
@@ -31,6 +31,7 @@
#include <gpxe/retry.h>
#include <gpxe/tcpip.h>
#include <gpxe/dhcp.h>
+#include <gpxe/features.h>
#include <gpxe/dns.h>
/** @file
@@ -39,6 +40,8 @@
*
*/
+FEATURE ( FEATURE_PROTOCOL, "DNS", DHCP_EB_FEATURE_DNS, 1 );
+
/** The DNS server */
static struct sockaddr_tcpip nameserver = {
.st_port = htons ( DNS_PORT ),