diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-10-08 21:17:52 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-10-08 21:17:52 +0200 |
commit | 5aadf673497b93e2d4ad304e567de1cd571f9e25 (patch) | |
tree | e32d9c58db07ff62dff147b168b6c55f802068dc /src/tests/test_util.py | |
parent | adc7ef387d40e92bd7163ee6b401e99e554394a3 (diff) | |
download | vyos-1x-5aadf673497b93e2d4ad304e567de1cd571f9e25.tar.gz vyos-1x-5aadf673497b93e2d4ad304e567de1cd571f9e25.zip |
tunnel: T3893: harden logic when validating tunnel parameters
Different types of tunnels have different keys set in get_interface_config().
Thus it should be properly verified (by e.g. using dict_search()) that the key
in question esits to not raise KeyError.
Diffstat (limited to 'src/tests/test_util.py')
0 files changed, 0 insertions, 0 deletions