Bug 469165 - IPv6 routes with metric 0 are silently dropped
Summary: IPv6 routes with metric 0 are silently dropped
Status: REPORTED
Alias: None
Product: frameworks-networkmanager-qt
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 5.102.0
Platform: Other Other
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-04-29 23:39 UTC by Dmitry
Modified: 2023-04-29 23:39 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitry 2023-04-29 23:39:07 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. Add IPv6 route with metric 0 to nm-connection (i.e. via text editor)
2. Open the connection in plasma-nm
3. Observe no such route displayed
4. Close the window and get warned about changes

OBSERVED RESULT
Route is dropped from nm-connection

EXPECTED RESULT
Route is not silently lost

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma:  5.x
(available in About System)
KDE Plasma Version: 5.x
KDE Frameworks Version: 5.x
Qt Version: 5.x

ADDITIONAL INFORMATION
Cause: https://invent.kde.org/frameworks/networkmanager-qt/-/blob/master/src/settings/ipv6setting.cpp#L454