the driver pops 'port' out of the caller's optional_args #19

Closed
opened 2026-10-18 19:45:22 +00:00 by christianmanivong · 0 comments
Owner

OpenWrtDriver.__init__ removes port from the optional_args dict it was given, which is the caller's object, so the caller's dict changes under it. Copy before popping.

Prio P4. Found while working on NetOrk/netork#1167.

`OpenWrtDriver.__init__` removes `port` from the `optional_args` dict it was given, which is the caller's object, so the caller's dict changes under it. Copy before popping. **Prio P4.** Found while working on NetOrk/netork#1167.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: NAPALM/napalm-openwrt#19