Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ipv6 addresses if present and sort ips #7299

Closed
wants to merge 1 commit into from

Conversation

nvollmar
Copy link
Collaborator

Description

Sorting IP addresses and adding IPv6 addresses to sysinfo motd.

How Has This Been Tested?

Set IPv6 address on interface and run /etc/motd/30-armbian-sysinfo

Checklist:

Please delete options that are not relevant.

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • My changes generate no new warnings

@nvollmar nvollmar requested a review from a team as a code owner September 25, 2024 16:20
@github-actions github-actions bot added size/small PR with less then 50 lines BSP Board Support Packages labels Sep 25, 2024
Copy link
Member

@SuperKali SuperKali left a comment

Choose a reason for hiding this comment

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

Great work! However, I suggest integrating the function for retrieving local IPv6 addresses directly into the get_ip_addresses function, rather than creating a separate one. As for obtaining the public IPv6 address, you can use the current approach of making a curl request to the site over IPv6.

@SuperKali SuperKali added the Needs review Seeking for review label Sep 25, 2024
@nvollmar
Copy link
Collaborator Author

I didn't get to it yet, I'll update the PR in the next days

@SuperKali SuperKali added the Work in progress Unfinished / work in progress label Sep 30, 2024
@SuperKali SuperKali closed this Sep 30, 2024
@nvollmar nvollmar deleted the ipv6-sysinfo branch October 1, 2024 07:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BSP Board Support Packages Needs review Seeking for review size/small PR with less then 50 lines Work in progress Unfinished / work in progress
Development

Successfully merging this pull request may close these issues.

2 participants