diff options
author | Michael Brown | 2007-07-08 15:31:51 +0200 |
---|---|---|
committer | Michael Brown | 2007-07-08 15:31:51 +0200 |
commit | 237e23c1c96b3c5fca4519b0771eb5ec2e4fffc6 (patch) | |
tree | 96d82d5fbbcc58d1aad9681c1373631ff1f96765 /src/net/udp/dns.c | |
parent | TCP limits advertised TCP window to size of application window (diff) | |
download | ipxe-237e23c1c96b3c5fca4519b0771eb5ec2e4fffc6.tar.gz ipxe-237e23c1c96b3c5fca4519b0771eb5ec2e4fffc6.tar.xz ipxe-237e23c1c96b3c5fca4519b0771eb5ec2e4fffc6.zip |
Add debug message when nameserver setting is applied/changed via DHCP.
Diffstat (limited to 'src/net/udp/dns.c')
-rw-r--r-- | src/net/udp/dns.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/net/udp/dns.c b/src/net/udp/dns.c index aab9cfc2..2dac8ee9 100644 --- a/src/net/udp/dns.c +++ b/src/net/udp/dns.c @@ -517,6 +517,10 @@ static int apply_dhcp_nameserver ( unsigned int tag __unused, sin_nameserver = ( struct sockaddr_in * ) &nameserver; sin_nameserver->sin_family = AF_INET; dhcp_ipv4_option ( option, &sin_nameserver->sin_addr ); + + DBG ( "DNS using nameserver %s\n", + inet_ntoa ( sin_nameserver->sin_addr ) ); + return 0; } |