Skip to content

Commit

Permalink
Linter compliance
Browse files Browse the repository at this point in the history
  • Loading branch information
leoplo committed Oct 27, 2022
1 parent 751c638 commit 40b363e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions pimdm/Config.py
Original file line number Diff line number Diff line change
Expand Up @@ -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] = {}

Expand Down
2 changes: 1 addition & 1 deletion pimdm/InterfacePIM.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
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
Expand Down

0 comments on commit 40b363e

Please sign in to comment.