protected boolean oneSameNetwork(MacAddress m1,MacAddress m2){
  String net1=macToGuid.get(m1);
  String net2=macToGuid.get(m2);
  if (net1 == null)   return false;
  if (net2 == null)   return false;
  return net1.equals(net2);
}

protected boolean oneSameNetwork ( MacAddress m1 , MacAddress m2 ) { String net1 = macToGuid . get ( m1 ) ; String net2 = macToGuid . get ( m2 ) ; if ( net1 == null ) return false ; if ( net2 == null ) return false ; return net1 . equals ( net2 ) ; }
checks to see if two mac addresses are on the same network .
