summaryrefslogtreecommitdiff
path: root/python/vyos/ifconfig/vtun.py
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-10-08 21:17:52 +0200
committerChristian Poessinger <christian@poessinger.com>2021-10-08 21:17:52 +0200
commit5aadf673497b93e2d4ad304e567de1cd571f9e25 (patch)
treee32d9c58db07ff62dff147b168b6c55f802068dc /python/vyos/ifconfig/vtun.py
parentadc7ef387d40e92bd7163ee6b401e99e554394a3 (diff)
downloadvyos-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 'python/vyos/ifconfig/vtun.py')
0 files changed, 0 insertions, 0 deletions