private boolean matchAddress(final byte[] remoteMask){
  if (ruleType == RuleType.ALLWILDCARD) {
    return true;
  }
  if (prefixMask == null) {
    return false;
  }
  if (remoteMask.length != prefixMask.length) {
    return false;
  }
  for (int i=0; i < prefixMask.length; i++) {
    if (!wildCard.get(i) && (ruleMask[i] & prefixMask[i]) != (remoteMask[i] & prefixMask[i])) {
      return false;
    }
  }
  return true;
}

private boolean matchAddress ( final byte [ ] remoteMask ) { if ( ruleType == RuleType . ALLWILDCARD ) { return true ; } if ( prefixMask == null ) { return false ; } if ( remoteMask . length != prefixMask . length ) { return false ; } for ( int i = 0 ; i < prefixMask . length ; i ++ ) { if ( ! wildCard . get ( i ) && ( ruleMask [ i ] & prefixMask [ i ] ) != ( remoteMask [ i ] & prefixMask [ i ] ) ) { return false ; } } return true ; }
try to match remote client address using prefix mask and rule mask .
