]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/shared/bus-unit-util.c
bus-unit-util: fix parsing of IPAddress{Allow,Deny}
authorRonny Chevalier <ronny.chevalier@hp.com>
Fri, 21 Sep 2018 13:59:25 +0000 (14:59 +0100)
committerLennart Poettering <lennart@poettering.net>
Tue, 2 Oct 2018 13:46:15 +0000 (15:46 +0200)
commitafc1feaeba27c814134376374555cf6a1f4dc874
treef457f3ace36a708ec1b676132e30f9726335ae00
parentc3281539dac3097b1ba67cfa31396c01cdb69639
bus-unit-util: fix parsing of IPAddress{Allow,Deny}

While the config parser correctly handles the case of multiple IPs,
bus_append_cgroup_property was only parsing one IP,
and it would fail with "Failed to parse IP address prefix" when given
a list of IPs.
src/shared/bus-unit-util.c