mirror of
https://github.com/xcat2/xNBA.git
synced 2024-12-14 23:31:39 +00:00
nameserver should be static
This commit is contained in:
parent
7df3d4a177
commit
f44969f7df
@ -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 ),
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user