Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
pim_dm
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
pim_dm
Commits
41d9dba8
Commit
41d9dba8
authored
Oct 03, 2017
by
Pedro Oliveira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix prune non root
parent
77f16d47
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
tree/non_root_interface.py
tree/non_root_interface.py
+2
-3
No files found.
tree/non_root_interface.py
View file @
41d9dba8
...
...
@@ -111,11 +111,10 @@ class SFRMNonRootInterface(SFRMTreeInterface):
# Override
def
is_forwarding
(
self
):
return
self
.
_assert_state
==
AssertState
.
Winner
\
and
(
self
.
igmp_has_members
()
or
not
self
.
is_pruned
())
return
self
.
_assert_state
==
AssertState
.
Winner
and
not
self
.
is_pruned
()
def
is_pruned
(
self
):
return
self
.
_prune_state
==
SFMRPruneState
.
NDI
return
not
self
.
igmp_has_members
()
and
self
.
_prune_state
==
SFMRPruneState
.
NDI
# Override
def
nbr_died
(
self
,
neighbor_ip
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment