Fix IP/MASK intersection in Match 68/1068/1
authorAlessandro Boch <aboch@cisco.com>
Sat, 31 Aug 2013 00:31:28 +0000 (17:31 -0700)
committerAlessandro Boch <aboch@cisco.com>
Sat, 31 Aug 2013 00:37:10 +0000 (17:37 -0700)
commitf4f0a778c5e55053750590b0686d6e2b838031e6
tree85da1a2c17513283c491d933b4a96d9feaff80b4
parent6806719ffe0a4ac6d0585faeadc86fc947e8095b
Fix IP/MASK intersection in Match

- Match.getIntersection() picks the wrong IP/MASK
- Updated Junit to assert on expected behavior

Change-Id: Iae49984ece6be28855f5835803cb3d6b7c94fa50
Signed-off-by: Alessandro Boch <aboch@cisco.com>
opendaylight/sal/api/src/main/java/org/opendaylight/controller/sal/match/Match.java
opendaylight/sal/api/src/test/java/org/opendaylight/controller/sal/match/MatchTest.java