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:
parent
35afb379af
commit
237e23c1c9
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user