diff options
Diffstat (limited to 'net/dns.c')
-rw-r--r-- | net/dns.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -184,7 +184,7 @@ static void dns_handler(uchar *pkt, unsigned dest, struct in_addr sip, ip_to_string(ip_addr, ip_str); printf("%s\n", ip_str); if (net_dns_env_var) - setenv(net_dns_env_var, ip_str); + env_set(net_dns_env_var, ip_str); } else { puts("server responded with invalid IP number\n"); } |