Replace dynamically built filter list with a static oneamule-svn-r10966
commit1d8b00e8fe5368d5363a2c3a42a7d883d227090d
authorupstream svn <svn@amule.org>
Fri, 14 Oct 2016 11:39:17 +0000 (14 11:39 +0000)
committerDévai Tamás <gonosztopi@amule.org>
Sat, 15 Oct 2016 10:52:57 +0000 (15 10:52 +0000)
treec5d458439dbc10d94f8a1e743d61830727460541
parent8f0c06698f988e8d93b62045716bd205a015490b
Replace dynamically built filter list with a static one

This saves us both some space and startup time, because now we don't have to
convert the string representation to uint32 on startup. This removes an
unused-variable warning, too.

Also added a few tests for the IsGoodIP() and IsLanIP() functions.
.svn-revision
src/NetworkFunctions.cpp
src/NetworkFunctions.h
unittests/tests/NetworkFunctionsTest.cpp