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
af5ef463
Commit
af5ef463
authored
Oct 25, 2022
by
Léo-Paul Géneau
👾
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Linter compliance
parent
e1b07de3
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
pimdm/Config.py
pimdm/Config.py
+2
-2
pimdm/InterfacePIM.py
pimdm/InterfacePIM.py
+1
-1
No files found.
pimdm/Config.py
View file @
af5ef463
...
...
@@ -167,13 +167,13 @@ def get_yaml_file():
"""
dict_file
=
BASE_CONFIG
.
copy
()
for
if_name
,
if_value
in
Main
.
interfaces
.
items
():
for
if_name
,
_
in
Main
.
interfaces
.
items
():
dict_file
[
"PIM-DM"
][
"Interfaces"
][
if_name
]
=
{}
dict_file
[
"PIM-DM"
][
"Interfaces"
][
if_name
][
"ipv4"
]
=
{
"enabled"
:
True
,
}
for
if_name
,
if_value
in
Main
.
interfaces_v6
.
items
():
for
if_name
,
_
in
Main
.
interfaces_v6
.
items
():
if
if_name
not
in
dict_file
[
"PIM-DM"
][
"Interfaces"
]:
dict_file
[
"PIM-DM"
][
"Interfaces"
][
if_name
]
=
{}
...
...
pimdm/InterfacePIM.py
View file @
af5ef463
...
...
@@ -8,7 +8,7 @@ from pimdm.Interface import Interface
from
pimdm.packet.ReceivedPacket
import
ReceivedPacket
from
pimdm
import
Main
from
pimdm.rwlock.RWLock
import
RWLockWrite
from
pimdm.packet.PacketPimHelloOptions
import
*
from
pimdm.packet.PacketPimHelloOptions
import
PacketPimHelloHoldtime
,
PacketPimHelloGenerationID
,
PacketPimHelloStateRefreshCapable
from
pimdm.packet.PacketPimHello
import
PacketPimHello
from
pimdm.packet.PacketPimHeader
import
PacketPimHeader
from
pimdm.packet.Packet
import
Packet
...
...
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