negative number on routes metric > 2147483647
Bug #2023681 reported by
Benjamin Gentil
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
netplan |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Configuring a routes metric higher than 2147483647 results in a negative metric value, which breaks the generated configuration.
This is due to the usage of %d instead of %u, the metric value is treated as signed integer instead of unsigned integer
Changed in netplan: | |
status: | In Progress → Fix Committed |
To post a comment you must log in.
I made a PR here: https:/ /github. com/canonical/ netplan/ pull/367