FIX: Wild IP bug.
tests for it
Merge pull request #827 from xenolog/wild_ip_fix__3.2.1

Wild ip fix  3.2.1