From f306fa79279d6ac68eed78bb1136b95ab8fe1268 Mon Sep 17 00:00:00 2001 From: Juraj Andrassy Date: Thu, 1 Sep 2022 17:08:42 +0200 Subject: [PATCH] WiFi.setHostname as alias for void hostname(name) for WiFiNINA API compatibility --- src/WiFi101.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/WiFi101.h b/src/WiFi101.h index 00b38308..0645cfea 100644 --- a/src/WiFi101.h +++ b/src/WiFi101.h @@ -124,6 +124,7 @@ class WiFiClass void config(IPAddress local_ip, IPAddress dns_server, IPAddress gateway, IPAddress subnet); void hostname(const char* name); + void setHostname(const char* name) {hostname(name);} void disconnect(); void end();