netifd: add possibility to switch off route config
authorFlorian Eckert <fe@dev.tdt.de>
Tue, 24 Nov 2020 07:18:00 +0000 (08:18 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 3 Apr 2021 15:24:32 +0000 (17:24 +0200)
commit327da9895327bc56b23413ee91a6e6b6e0e4329d
tree7a32adaef7056a0953441541f1f102b8fe90337d
parentf8899b9ba4caa99ac64d3c1abac48ccb1421bd79
netifd: add possibility to switch off route config

This change adds the new configuration option `disabled` for the route
section, which can be used to temporarily disable the section so that
the route is not set. The advantage is that we do not have to delete
this route configuration section to achieve this.

config route
  option disabled '1

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
interface-ip.c