]> git.ipfire.org Git - thirdparty/systemd.git/commit
network: do not create default route for ipv4 link local addressing
authorYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 28 Aug 2019 13:42:33 +0000 (22:42 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Sun, 15 Sep 2019 13:33:11 +0000 (22:33 +0900)
commit2aa7d367ec91518891f6100df562fbe240969105
treee41a2422dd21e917f7051cf752fa2b2e0a0e8031
parent9870c55ef5df8f079cd972b409ec59414869a256
network: do not create default route for ipv4 link local addressing

When nspawn container with private network starts, networkd creates
the default route for the interface. The route may cause problem on
the host side, and it can be created with DefaultRouteOnDevice= now.
Hence, this makes networkd not create the route implicitly any more.

Closes #13418.
src/network/networkd-ipv4ll.c
src/network/networkd-link.c
src/network/networkd-link.h
test/test-network/systemd-networkd-tests.py