Skip to content

Commit

Permalink
Fixed a small bug in LearningSwitch.java. Fixed a typo in a comment i…
Browse files Browse the repository at this point in the history
…n ForwardingBase.java.
  • Loading branch information
Ryan Izard committed Dec 29, 2014
1 parent 919fc9f commit c6fff53
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ protected void removeFromPortMap(IOFSwitch sw, MacAddress mac, VlanVid vlan) {
*/
public OFPort getFromPortMap(IOFSwitch sw, MacAddress mac, VlanVid vlan) {
if (vlan == VlanVid.FULL_MASK) {
vlan = VlanVid.FULL_MASK;
vlan = VlanVid.ofVlan(0);
}
Map<MacVlanPair, OFPort> swMap = macVlanToSwitchPortMap.get(sw);
if (swMap != null) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ public Command receive(IOFSwitch sw, OFMessage msg, FloodlightContext cntx) {
* written to the switch
* @param flowModCommand flow mod. command to use, e.g. OFFlowMod.OFPFC_ADD,
* OFFlowMod.OFPFC_MODIFY etc.
* @return srcSwitchIincluded True if the source switch is included in this route
* @return srcSwitchIncluded True if the source switch is included in this route
*/
@LogMessageDocs({
@LogMessageDoc(level="WARN",
Expand Down

0 comments on commit c6fff53

Please sign in to comment.