mirror of
https://github.com/ipxe/ipxe
synced 2025-12-18 10:30:23 +03:00
nameserver should be static
This commit is contained in:
@@ -87,6 +87,4 @@ union dns_rr_info {
|
||||
struct dns_rr_info_cname cname;
|
||||
};
|
||||
|
||||
extern struct sockaddr_tcpip nameserver;
|
||||
|
||||
#endif /* _GPXE_DNS_H */
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
*/
|
||||
|
||||
/** The DNS server */
|
||||
struct sockaddr_tcpip nameserver = {
|
||||
static struct sockaddr_tcpip nameserver = {
|
||||
.st_port = htons ( DNS_PORT ),
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user