network: address: do not adjust user specified scope
authorYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 9 Dec 2021 06:18:34 +0000 (15:18 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 9 Dec 2021 06:25:05 +0000 (15:25 +0900)
commit8f8dc32cc98386097586451fea3c4c89d033d17f
treed4b537f33b9631fde7d262938b9e096aa48c8ad6
parent12caf7271655e16030e34279b1fb0b29a592f6ad
network: address: do not adjust user specified scope

This reverts cd1caf30c0bd0d0c6e8df7610c614f52a7345c40.

I cannot remember why such change was made.
At least, the kernel does not refuse to set IPv4 localhost address with
non-host scope, e.g. global.
src/network/networkd-address.c