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
tom
2014-10-06 13:35:30 -0700
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
7951b23a7cb97217bef7677b4379a6d8edd5c39f
7951b23a
1 parent
a0ed763c
Fixed NPE when removing flows.
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletions
core/net/src/main/java/org/onlab/onos/net/flow/impl/FlowRuleManager.java
core/net/src/main/java/org/onlab/onos/net/flow/impl/FlowRuleManager.java
View file @
7951b23
...
...
@@ -103,11 +103,13 @@ public class FlowRuleManager
for
(
int
i
=
0
;
i
<
flowRules
.
length
;
i
++)
{
f
=
flowRules
[
i
];
device
=
deviceService
.
getDevice
(
f
.
deviceId
());
frp
=
getProvider
(
device
.
providerId
());
store
.
deleteFlowRule
(
f
);
if
(
device
!=
null
)
{
frp
=
getProvider
(
device
.
providerId
());
frp
.
removeFlowRule
(
f
);
}
}
}
@Override
public
void
removeFlowRulesById
(
ApplicationId
id
)
{
...
...
Please
register
or
login
to post a comment