Fix reversed IFA_LOCAL and IFA_ADDRESS checks. (Bug: #355)