convert masked ip to unsigned int, then compare
fix unsigned compare
Merge pull request #7 from googollee/master

PATCH: fix unsigned compare