File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -417,7 +417,7 @@ IPAddress& IPAddress::from_ip_addr_t(const ip_addr_t* addr){
417
417
return *this ;
418
418
}
419
419
420
- esp_ip6_addr_type_t IPAddress::addr_type (){
420
+ esp_ip6_addr_type_t IPAddress::addr_type () const {
421
421
if (_type != IPv6){
422
422
return ESP_IP6_ADDR_IS_UNKNOWN;
423
423
}
Original file line number Diff line number Diff line change @@ -102,7 +102,7 @@ class IPAddress : public Printable {
102
102
IPAddress (const ip_addr_t *addr);
103
103
void to_ip_addr_t (ip_addr_t * addr) const ;
104
104
IPAddress& from_ip_addr_t (const ip_addr_t * addr);
105
- esp_ip6_addr_type_t addr_type ();
105
+ esp_ip6_addr_type_t addr_type () const ;
106
106
uint8_t zone () const { return (type () == IPv6)?_zone:0 ; }
107
107
size_t printTo (Print& p, bool includeZone) const ;
108
108
You can’t perform that action at this time.
0 commit comments