chiark / gitweb /
networkd: allow specification of DHCP route metric
authorAngus Gibson <angus@agibson.me>
Mon, 8 Sep 2014 10:26:47 +0000 (20:26 +1000)
committerTom Gundersen <teg@jklm.no>
Mon, 8 Sep 2014 13:09:08 +0000 (15:09 +0200)
commit84b5b79a8f7b423c5b7cad4170eb68d57fe5e26c
tree67ceebd7e986f9ed3d8952cb090f0eb5b2b23806
parentaf5effc4220dab6c4c87a130bae7be441f6967ca
networkd: allow specification of DHCP route metric

This lets the routing metric for links to be specified per-network,
still defaulting to DHCP_ROUTE_METRIC (1024) if unspecified. Hopefully
this helps with multiple interfaces configured via DHCP.
man/systemd.network.xml
src/network/networkd-dhcp4.c
src/network/networkd-network-gperf.gperf
src/network/networkd-network.c
src/network/networkd.h