commit | 5c4cf1edb0adc518e09c52e93505c196ccbca018 | [log] [tgz] |
---|---|---|
author | Jian Li <pyguni@gmail.com> | Mon Nov 30 13:10:46 2015 -0800 |
committer | Gerrit Code Review <gerrit@onlab.us> | Mon Nov 30 21:47:27 2015 +0000 |
tree | 316c5fcc9b158614f0d3a6611ba1ff1aa68ffbeb | |
parent | 2748b2c22e947e2d0b622132f212e7ac58051346 [diff] |
Correct wrong method name from matchMplsLabel to matchMplsBos Change-Id: I13b324e07352d68fe43bc7ce055292acbe622a2c
diff --git a/core/api/src/main/java/org/onosproject/net/flow/DefaultTrafficSelector.java b/core/api/src/main/java/org/onosproject/net/flow/DefaultTrafficSelector.java index 8b2916a..d3c2449 100644 --- a/core/api/src/main/java/org/onosproject/net/flow/DefaultTrafficSelector.java +++ b/core/api/src/main/java/org/onosproject/net/flow/DefaultTrafficSelector.java
@@ -340,7 +340,7 @@ @Override public Builder matchMplsBos(boolean mplsBos) { - return add(Criteria.matchMplsLabel(mplsBos)); + return add(Criteria.matchMplsBos(mplsBos)); } @Override
diff --git a/core/api/src/main/java/org/onosproject/net/flow/criteria/Criteria.java b/core/api/src/main/java/org/onosproject/net/flow/criteria/Criteria.java index 84c6c12..f13026c 100644 --- a/core/api/src/main/java/org/onosproject/net/flow/criteria/Criteria.java +++ b/core/api/src/main/java/org/onosproject/net/flow/criteria/Criteria.java
@@ -448,7 +448,7 @@ * @param mplsBos boolean value indicating true (BOS=1) or false (BOS=0) * @return match criterion */ - public static Criterion matchMplsLabel(boolean mplsBos) { + public static Criterion matchMplsBos(boolean mplsBos) { return new MplsBosCriterion(mplsBos); }