Aaron Schulz
96c5cd8d9b
Removed clumsy unused IP::toUnsigned() method
...
* Also avoid calling ip2long() on invalid addresses in toHex()
* Also use native base_convert() in toHex() for IPv4
Change-Id: I4fe4e1ac3c91edb9812e4c5bd173e4b54e315934
2014-05-31 00:20:27 +00:00
Aaron Schulz
ed6abd6b04
Workaround ip2long limitation
...
* This was resulting in bogus queries that did ipblock table scans
bug: 60035
Change-Id: Id8f8846e002abcc0010c8706c664db86257786bf
2014-01-17 00:23:49 +00:00
Siebrand Mazeland
3962697cff
Break long lines
...
Fixes CodeSniffer errors/warnings.
Change-Id: I6417072270ec7236ad2412abda6f6afce189f0fd
2013-11-07 18:10:50 +01:00
Siebrand Mazeland
8ba4964fac
Move files with tests to reflect the code
...
Change-Id: I7949457fb1ad056dc3db09b43ecf73bc8a61d5a8
2013-11-07 18:03:04 +01:00