fix: filter IPv4 link-local addresses from network interfaces#226
Conversation
`getNetworkInterfaces` already filters IPv6 link-local addresses (`fe80::`) but not their IPv4 equivalent (`169.254.x.x`). On machines with a link-local interface (common on macOS), this causes the dev server QR code and Network URL to show the unreachable 169.254 address instead of the actual LAN address (e.g. 192.168.x.x).
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #226 +/- ##
==========================================
- Coverage 49.42% 48.38% -1.04%
==========================================
Files 17 9 -8
Lines 1819 558 -1261
Branches 147 193 +46
==========================================
- Hits 899 270 -629
+ Misses 915 233 -682
- Partials 5 55 +50 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
resolves #225 - filter
169.254.x.x(IPv4 link-local) addresses ingetNetworkInterfaces(), mirroring the existingfe80::filter for IPv6 link-local addressesSummary by CodeRabbit
Bug Fixes