2
0
mirror of https://github.com/xcat2/xNBA.git synced 2024-12-14 15:21:32 +00:00

Add debug message when nameserver setting is applied/changed via DHCP.

This commit is contained in:
Michael Brown 2007-07-08 14:31:51 +01:00
parent 35afb379af
commit 237e23c1c9

View File

@ -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;
}