diff options
Diffstat (limited to 'net/dns.c')
-rw-r--r-- | net/dns.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net/dns.c b/net/dns.c index ff9ddffc9d0..dd453201504 100644 --- a/net/dns.c +++ b/net/dns.c @@ -202,5 +202,8 @@ DnsStart(void) NetSetTimeout(DNS_TIMEOUT, DnsTimeout); net_set_udp_handler(DnsHandler); + /* Clear a previous MAC address, the server IP might have changed. */ + memset(NetServerEther, 0, sizeof(NetServerEther)); + DnsSend(); } |