From bab199139b0f1c43ae528c1500ecc695a53a5970 Mon Sep 17 00:00:00 2001 From: Mark Sturgill Date: Thu, 6 Feb 2014 23:51:49 -0700 Subject: [PATCH] apipa range for serverlist autodetection --- Scripts/Misc/ServerList.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Scripts/Misc/ServerList.cs b/Scripts/Misc/ServerList.cs index a2363e767..714bc51ed 100644 --- a/Scripts/Misc/ServerList.cs +++ b/Scripts/Misc/ServerList.cs @@ -150,6 +150,7 @@ namespace Server.Misc // 10.0.0.0/8 // 172.16.0.0/12 // 192.168.0.0/16 + // 169.254.0.0/16 if ( ip.AddressFamily == AddressFamily.InterNetworkV6 ) return false; @@ -160,6 +161,8 @@ namespace Server.Misc return true; else if ( Utility.IPMatch( "172.16-31.*", ip ) ) return true; + else if ( Utility.IPMatch( "169.254.*", ip ) ) + return true; else return false; }