Fork for fixes

Revision:
21:4dcda56a9820
Parent:
19:58e840279555
Child:
22:a0b1d0e6d237
--- a/DhcpClient.h	Thu Sep 24 21:14:56 2020 +0000
+++ b/DhcpClient.h	Fri Sep 25 21:21:31 2020 +0000
@@ -122,6 +122,7 @@
     dhcpT2value             = 59,
     dhcpClassIdentifier     = 60,
     dhcpClientIdentifier    = 61,
+    userMqtt                = 224,
     endOption               = 255
 };
 
@@ -154,6 +155,7 @@
     uint8_t     _dhcpDnsServerIp[4];
     uint32_t    _dhcpLeaseTime;
     uint32_t    _dhcpT1, _dhcpT2;
+    uint8_t     _dhcpUserMqttIP[4];
     time_t      _renewInSec;
     time_t      _rebindInSec;
     time_t      _lastCheck;
@@ -177,6 +179,7 @@
     IpAddress   getGatewayIp();
     IpAddress   getDhcpServerIp();
     IpAddress   getDnsServerIp();
+    IpAddress   getMqttServerIp();
 
     int         begin(uint8_t* mac, unsigned long timeout = 60, unsigned long responseTimeout = 4);
     int         checkLease();