mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-26 17:00:32 +01:00
ifcfg-rh: fix accepting onlink flag also for IPv6 routes
In the past, kernel (and NetworkManager) did not support the onlink flags for IPv6 routes. That is no longer the case. Fixes:f5e8bbc8e0('libnm,core: enable "onlink" flags also for IPv6 routes') (cherry picked from commite7816a2508) (cherry picked from commit98c4bdec39)
This commit is contained in:
parent
c13cef1b58
commit
386b6ebd12
1 changed files with 1 additions and 2 deletions
|
|
@ -838,8 +838,7 @@ parse_route_line (const char *line,
|
|||
.int_base_16 = TRUE,
|
||||
.ignore = (addr_family != AF_INET), },
|
||||
[PARSE_LINE_ATTR_ROUTE_ONLINK] = { .key = NM_IP_ROUTE_ATTRIBUTE_ONLINK,
|
||||
.type = PARSE_LINE_TYPE_FLAG,
|
||||
.ignore = (addr_family != AF_INET), },
|
||||
.type = PARSE_LINE_TYPE_FLAG, },
|
||||
[PARSE_LINE_ATTR_ROUTE_WINDOW] = { .key = NM_IP_ROUTE_ATTRIBUTE_WINDOW,
|
||||
.type = PARSE_LINE_TYPE_UINT32_WITH_LOCK, },
|
||||
[PARSE_LINE_ATTR_ROUTE_CWND] = { .key = NM_IP_ROUTE_ATTRIBUTE_CWND,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue