Toggle navigation
Toggle navigation
This project
Loading...
Sign in
홍길동
/
onos
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
Sho SHIMIZU
2015-09-02 20:37:26 -0700
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
b017141ab5976c9237ec76847c020c8f50f2fda7
b017141a
1 parent
aab784e4
Use auto-boxing
Change-Id: Ic905b504b585599da3329baf7bd0f138b1be35a5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
apps/segmentrouting/src/main/java/org/onosproject/segmentrouting/PolicyHandler.java
apps/segmentrouting/src/main/java/org/onosproject/segmentrouting/PolicyHandler.java
View file @
b017141
...
...
@@ -190,7 +190,7 @@ public class PolicyHandler {
tsb
.
matchIPSrc
(
IpPrefix
.
valueOf
(
policy
.
srcIp
()));
}
if
(
policy
.
ipProto
()
!=
null
&&
!
policy
.
ipProto
().
isEmpty
())
{
Short
ipProto
=
Short
.
valueOf
(
IpProtocol
.
valueOf
(
policy
.
ipProto
()).
value
()
);
Short
ipProto
=
IpProtocol
.
valueOf
(
policy
.
ipProto
()).
value
(
);
tsb
.
matchIPProtocol
(
ipProto
.
byteValue
());
if
(
IpProtocol
.
valueOf
(
policy
.
ipProto
()).
equals
(
IpProtocol
.
TCP
))
{
if
(
policy
.
srcPort
()
!=
0
)
{
...
...
Please
register
or
login
to post a comment