question: 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 ) ; }
target:  Checks to see if two MAC Addresses are on the same network.