0PF_DOWNLOAD is 0b1000000 and
1PF_NOBAN is 0b1010000.
This makes a check like flags & PF_NOBAN
return true
even if flags
is equal to PF_DOWNLOAD
.
If -whitebind=download@1.1.1.1:8765
is specified, then 1.1.1.1:8765
should be added to the list of local addresses. We only want to avoid
adding to local addresses (that are advertised) a whitebind that has
noban@
flag.
As a result of a mis-check in CConnman::Bind()
we would not have added
1.1.1.1:8765
to the local addresses in the example above.