diff --git a/fs/tftp.c b/fs/tftp.c index 463e0fc2d..e8a209e20 100644 --- a/fs/tftp.c +++ b/fs/tftp.c @@ -603,7 +603,7 @@ static int tftp_probe(struct device_d *dev) dev->priv = priv; - string_to_ip(fsdev->backingstore, &priv->server); + priv->server = resolv(fsdev->backingstore); return 0; }