diff options
author | Christian Breunig <christian@breunig.cc> | 2025-01-19 00:12:03 +0100 |
---|---|---|
committer | Christian Breunig <christian@breunig.cc> | 2025-01-19 00:17:12 +0100 |
commit | 20f0deb28d3d88537171f869234520ceb4f67f01 (patch) | |
tree | c4ba36e2e5295ec8f158814cef88ea3fb6804180 /op-mode-definitions | |
parent | e455ac5909456328f62000fa054de2ad7700ff39 (diff) | |
download | vyos-1x-20f0deb28d3d88537171f869234520ceb4f67f01.tar.gz vyos-1x-20f0deb28d3d88537171f869234520ceb4f67f01.zip |
wireguard: T4930: use get_config_dict() rather then individual config queries
Extend ConfigTreeQuery().get_config_dict() with arguments to read in default
CLI values, too. This removes the need for hardcoded default values at
multiple places like:
if max_dns_retry is None:
max_dns_retry = 3
in this case.
Diffstat (limited to 'op-mode-definitions')
0 files changed, 0 insertions, 0 deletions