]> git.ipfire.org Git - thirdparty/systemd.git/commit
networkd: Fix route properties.
authorSusant Sahani <ssahani@redhat.com>
Mon, 25 Apr 2016 07:07:10 +0000 (12:37 +0530)
committerSusant Sahani <ssahani@redhat.com>
Mon, 25 Apr 2016 07:07:10 +0000 (12:37 +0530)
commitcacc1dbf17e839a8a10ee3c43c2bb2bf8bda7642
tree3a55e61b6f04d88c6c5d71ba4b11ecacb551be9e
parent4f4d6ee4be1c5d3bb2f3ebce7d2d332285963830
networkd: Fix route properties.

We are not able to add multiple properties.

wlp3s0.network:
[Match]
Name=wlp3s0

[Route]
Gateway=10.68.5.26
Metric=10

 sudo ./systemd-networkd
Failed to parse file '/usr/lib/systemd/network/wlp3s0.network': File
exists
Could not load configuration files: File exists

This patch fixes it.
src/network/networkd-route.c