From 6df55d10bd4b57022c72f2cbf54dc0d088578c81 Mon Sep 17 00:00:00 2001
From: natitr <trevor.natiuk@wallawalla.edu>
Date: Tue, 22 Feb 2022 16:13:54 -0800
Subject: [PATCH] Move definition of INADDR_NONE to IPAddress.cpp

---
 cores/arduino/IPAddress.cpp | 2 ++
 cores/arduino/IPAddress.h   | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/cores/arduino/IPAddress.cpp b/cores/arduino/IPAddress.cpp
index d9fe5be1d..a345d5f3b 100644
--- a/cores/arduino/IPAddress.cpp
+++ b/cores/arduino/IPAddress.cpp
@@ -112,3 +112,5 @@ size_t IPAddress::printTo(Print& p) const
     return n;
 }
 
+const IPAddress INADDR_NONE(0,0,0,0);
+
diff --git a/cores/arduino/IPAddress.h b/cores/arduino/IPAddress.h
index d762f2c02..5d0db6e45 100644
--- a/cores/arduino/IPAddress.h
+++ b/cores/arduino/IPAddress.h
@@ -73,6 +73,6 @@ class IPAddress : public Printable {
     friend class DNSClient;
 };
 
-const IPAddress INADDR_NONE(0,0,0,0);
+extern const IPAddress INADDR_NONE;
 
 #endif