From 090e14d42ced127700c26089cbef8bd0e2271d4a Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Fri, 10 May 2019 18:18:54 +0200 Subject: [PATCH] IPv4: Default initialize IPv4Address to 0.0.0.0. IPv4Address() didn't initialize which made for some confusing debugging. --- Kernel/Net/IPv4.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Kernel/Net/IPv4.h b/Kernel/Net/IPv4.h index 9cdc9e3a00..61232b78e2 100644 --- a/Kernel/Net/IPv4.h +++ b/Kernel/Net/IPv4.h @@ -48,7 +48,7 @@ public: private: union { byte m_data[4]; - dword m_data_as_dword; + dword m_data_as_dword { 0 }; }; };