summaryrefslogtreecommitdiff
path: root/lang/python/python3
diff options
context:
space:
mode:
authorFlorian Eckert <fe@dev.tdt.de>2020-07-16 14:02:57 +0200
committerFlorian Eckert <fe@dev.tdt.de>2020-07-20 08:11:20 +0200
commitbcd13ba95cd5b96d04e490b576faab54404cbf69 (patch)
treef7349c228d96cc1a36a3e8a99edb1db6c6a5af58 /lang/python/python3
parentbcd914e6658aed571eae554dfb8bfaac87e3fa41 (diff)
mwan3: fix rtmon routing table function generation
If the uci option family is not set in the interface section, then there is no default value set as in the `config_load / config_get` API. The problem here is that if the family is not set, the default value ipv4 is normaly assumed. But the comparison fails here because the value is empty and therefore the dedicated routing table for this interface is not compared with the other routes from the main table and so not updated. To fix this set the default value for this config option which is`false` for enabled and `ipv4` for family. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Diffstat (limited to 'lang/python/python3')
0 files changed, 0 insertions, 0 deletions