]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/network/networkd-dhcp-server.c
network: use a loop for repetitive operation 15314/head
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 2 Apr 2020 10:32:32 +0000 (12:32 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 10 Apr 2020 15:57:31 +0000 (17:57 +0200)
commit24e6f45842d04288025205206801f92e7ec85ccb
treedc883a11cb6ba1ab128092dc989a4092febafda7
parentc1997a5bf7db4ee862e3c07653e5ac9295484ba3
network: use a loop for repetitive operation

This should hopefully help us avoid c&p mistakes. And there are plans to
add more settings like this, which should then be rather straightforward.

There is a slight functional change: the code got uplink handling wrong
and run manager_find_uplink() repeatedly. That part is fixed.
src/network/networkd-dhcp-server.c