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:
Thomas Haller 2022-07-26 17:09:16 +02:00
parent 9bc28b1a2b
commit 5d6e1e39b7
No known key found for this signature in database
GPG key ID: 29C2366E4DFC5728

View file

@ -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,
})));