http://git.etherboot.org
/
people
/
indolent
/
gpxe.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
35afb37
)
Add debug message when nameserver setting is applied/changed via DHCP.
author
Michael Brown
<mcb30@etherboot.org>
Sun, 8 Jul 2007 13:31:51 +0000
(14:31 +0100)
committer
Michael Brown
<mcb30@etherboot.org>
Sun, 8 Jul 2007 13:31:51 +0000
(14:31 +0100)
src/net/udp/dns.c
patch
|
blob
|
history
diff --git
a/src/net/udp/dns.c
b/src/net/udp/dns.c
index
aab9cfc
..
2dac8ee
100644
(file)
--- 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;
}