]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/network/networkd-dhcp-prefix-delegation.c
network: dhcp-pd: allow to assign the same subnet prefix to multiple interfaces 22574/head
authorYu Watanabe <watanabe.yu+github@gmail.com>
Sun, 20 Feb 2022 02:46:16 +0000 (11:46 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 22 Feb 2022 11:39:32 +0000 (20:39 +0900)
commit07b7337afff11abbe0bf137175fdc2ba268378ac
treec2ad6b324eac15e96f2ccd6a515f6f02c235f61e
parent38488babe791639860068905177a415822b6b98b
network: dhcp-pd: allow to assign the same subnet prefix to multiple interfaces

There is no reason networkd refuses that. Especially, when multiple
downstream interfaces are connected to the same network, it is natural to
assign the same subnet prefix to them.

Prompted by #22571.
src/network/networkd-dhcp-prefix-delegation.c
test/test-network/conf/25-dhcp-pd-downstream-dummy98.network
test/test-network/systemd-networkd-tests.py