network: route: mask lower bits of destination or source prefix
authorYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 8 Dec 2021 22:01:47 +0000 (07:01 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 8 Dec 2021 22:02:59 +0000 (07:02 +0900)
commit72fa19239d8e11d993ea9a73b129b0bd6deaf736
tree7bb75b672dd687ff864a87b373150f111d109650
parente944711fba9243b3d141879dc78f4a2ee6f12292
network: route: mask lower bits of destination or source prefix

Let's gracefully handle user's misconfiguration, e.g.
Destination=192.168.0.1/24
src/network/networkd-route.c