-
Notifications
You must be signed in to change notification settings - Fork 2.1k
sys/shell/gnrc_netif: Fix a few blockers for sharing ifconfig shell #19971
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
Conversation
To support lwIP better (dont require gnrc_ipv6) Also don't require IPv6 for printing link type With this sc_gnrc_netif can compile and work when using lwIP (with l2util module added): ``` > ifconfig Iface ET1 HWaddr: 24:0A:C4:E6:0E:9C Channel: 6 Link: up L2-PDU:1500 Source address length: 6 Link type: wireless inet6 addr: fe80::260a:c4ff:fee6:e9c scope: link inet6 addr: 2001:db8::260a:c4ff:fee6:e9c scope: global Iface ET0 HWaddr: 24:0A:C4:E6:0E:9F Link: up L2-PDU:1500 Source address length: 6 Link type: wired inet6 addr: fe80::260a:c4ff:fee6:e9f scope: link inet6 addr: 2001:db8::260a:c4ff:fee6:e9f scope: global > ``` Still works in gnrc_networking example: ``` > ifconfig Iface 8 HWaddr: 24:0A:C4:E6:0E:9F Link: up L2-PDU:1500 MTU:1500 HL:64 RTR RTR_ADV Source address length: 6 Link type: wired inet6 addr: fe80::260a:c4ff:fee6:e9f scope: link VAL inet6 group: ff02::2 inet6 group: ff02::1 inet6 group: ff02::1:ffe6:e9f inet6 group: ff02::1a ```
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me!
Will rebase after #19973 submitted |
To avoid dependency on gnrc files. As suggested in RIOT-OS#16965
8e37058
to
ee6ca2b
Compare
bors merge |
🕐 Waiting for PR status (GitHub check) to be set, probably by CI. Bors will automatically try to run when all required PR statuses are set. |
GitHub status checks took too long to complete, so bors is giving up. You can adjust bors configuration to have it wait longer if you like. |
bors merge |
Build failed: |
bors merge |
Build succeeded! The publicly hosted instance of bors-ng is deprecated and will go away soon. If you want to self-host your own instance, instructions are here. If you want to switch to GitHub's built-in merge queue, visit their help page. |
Contribution description
When using general IPv6 functions, require only shared IPV6 module instead of gnrc version.
Print addresses using l2util functions in gnrc_netif instead of with gnrc wrappers.
Testing procedure
Issues/PRs references