Skip to content

Conversation

@devnexen
Copy link
Contributor

@devnexen devnexen commented Aug 9, 2024

No description provided.

@devnexen devnexen marked this pull request as ready for review August 9, 2024 21:26
Copy link
Member

@SteveLauC SteveLauC left a comment

Choose a reason for hiding this comment

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

CI failures are not related, I will handle them.

Copy link
Member

@SteveLauC SteveLauC left a comment

Choose a reason for hiding this comment

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

Well, perhaps I need a reason for this change even though it is ok and trivial, we already have this info in addr.flags.contains(InterfaceFlags::IFF_UP).

I think we need to consider what should be stored in the struct, currently, all the stored fields come from the libc struct libc::ifaddrs.

@devnexen
Copy link
Contributor Author

well, we can consider extra fields as info access aliases/shortcuts wdyt ?

@SteveLauC
Copy link
Member

we can consider extra fields as info access aliases/shortcut

I am thinking that if getting this info is already straightforward, then there is no need to add a shortcut for it 😶

@SteveLauC
Copy link
Member

CI fixed in #2470

@devnexen
Copy link
Contributor Author

Sure, anyway up to you if you want to merge it, no hard feeling if you don't :)

@SteveLauC
Copy link
Member

Thanks for the understanding ❤️, I will close this PR then:)

@SteveLauC SteveLauC closed this Aug 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants