summaryrefslogtreecommitdiff
path: root/src/platform/tests/test-common.c
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2020-10-22 10:29:03 +0200
committerThomas Haller <thaller@redhat.com>2020-10-23 17:11:55 +0200
commit60da4cb494ea68007ab7b31e2aaed012d85dd084 (patch)
tree94b082edafb153283cd0420b2609c0df999d2c09 /src/platform/tests/test-common.c
parentf6a8aca1b41e31eb71709ef8b3500a0e7229e246 (diff)
platform: interpret metric_any for routes to accept offset for default metric
The DHCP client likes to order multiple default routes by adding them with different, increasing metric. To support that, let "metric_any" not completely disable the "metric" field, but instead interpret it as an offset that should be added to the default metric.
Diffstat (limited to 'src/platform/tests/test-common.c')
0 files changed, 0 insertions, 0 deletions