Skip to content
This repository has been archived by the owner on Feb 27, 2024. It is now read-only.

fix: Support hyphen in interface names #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

oguzbilgener
Copy link

@oguzbilgener oguzbilgener commented Nov 23, 2023

My device has a network interface device called br-c200e6ddde1c. network-config is unable to parse its name because of the -. This breaks fsbot at ip addr dev show ${device}, device not found.

Copy link

@uri uri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Paired on this and saw it work so LGTM!

@uri
Copy link

uri commented Nov 23, 2023

Oh I don't have write access so I can't approve it.

@uri
Copy link

uri commented Nov 23, 2023

@jimudall can you take a look at this?

Copy link

@jwalton jwalton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A bit strange that we're not just calling os.networkInterfaces() but LGTM. :P

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants