Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[dns-cache] - fix dnscache lookup. The current code assumed that the …
…strIpAddress parameter was an empty string. That wasn't the case for e.x. nfs. In the case the nmblookup failed - but the caller has given a non-empty string in strIpAddress - this string was cached for the given hostname and returned back with return true. This fixes the problem by clearing the strIpAddress param before starting lookups. Thx to drloco for pointing it out.
- Loading branch information
4cbe756
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice. I believe I was seeing this when trying the android port. Might be worth another shot now :)