mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-05 06:28:05 +02:00
platform: reorder printing address flags in nm_platform_addr_flags2str()
Print the "tentative" flags as last. Most other flags, have more the character of
a user configured attribute, while "tentative" reflects the current state of the address.
Previously, we would log
secondary,tentative
and
tentative,mngtmpaddr,noprefixroute
Print the "tenative" flag last. This way, the flag that commonly
will flip by kernel's decision, is consistently printed last.
This commit is contained in:
parent
e6f15f26eb
commit
d2871e453f
1 changed files with 1 additions and 1 deletions
|
|
@ -5083,10 +5083,10 @@ NM_UTILS_FLAGS2STR_DEFINE (nm_platform_addr_flags2str, unsigned,
|
|||
NM_UTILS_FLAGS2STR (IFA_F_OPTIMISTIC, "optimistic"),
|
||||
NM_UTILS_FLAGS2STR (IFA_F_HOMEADDRESS, "homeaddress"),
|
||||
NM_UTILS_FLAGS2STR (IFA_F_DEPRECATED, "deprecated"),
|
||||
NM_UTILS_FLAGS2STR (IFA_F_TENTATIVE, "tentative"),
|
||||
NM_UTILS_FLAGS2STR (IFA_F_PERMANENT, "permanent"),
|
||||
NM_UTILS_FLAGS2STR (IFA_F_MANAGETEMPADDR, "mngtmpaddr"),
|
||||
NM_UTILS_FLAGS2STR (IFA_F_NOPREFIXROUTE, "noprefixroute"),
|
||||
NM_UTILS_FLAGS2STR (IFA_F_TENTATIVE, "tentative"),
|
||||
);
|
||||
|
||||
NM_UTILS_ENUM2STR_DEFINE (nm_platform_route_scope2str, int,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue