mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-01 14:58:05 +02:00
fix: set a_no_auto_noprefixroute for loopback addr
The default value is already FALSE. That cannot be correct, because we need a non-default behavior here.
This commit is contained in:
parent
9bc28b1a2b
commit
5d6e1e39b7
1 changed files with 2 additions and 2 deletions
|
|
@ -4307,7 +4307,7 @@ _l3_commit_one(NML3Cfg *self,
|
|||
nmp_object_new(NMP_OBJECT_TYPE_IP4_ADDRESS,
|
||||
&((const NMPlatformIP4Address){
|
||||
.address = NM_IPV4LO_NETWORK,
|
||||
.a_no_auto_noprefixroute = FALSE,
|
||||
.a_no_auto_noprefixroute = TRUE,
|
||||
.ifindex = 1,
|
||||
.plen = 8,
|
||||
})));
|
||||
|
|
@ -4316,7 +4316,7 @@ _l3_commit_one(NML3Cfg *self,
|
|||
nmp_object_new(NMP_OBJECT_TYPE_IP6_ADDRESS,
|
||||
&((const NMPlatformIP6Address){
|
||||
.address = IN6ADDR_LOOPBACK_INIT,
|
||||
.a_no_auto_noprefixroute = FALSE,
|
||||
.a_no_auto_noprefixroute = TRUE,
|
||||
.ifindex = 1,
|
||||
.plen = 128,
|
||||
})));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue