diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-11-17 21:42:26 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-11-17 21:50:43 +0100 |
commit | a12079f7cb7f8c10bfb309375c3397852502ed78 (patch) | |
tree | a0cd5c1fab1c97b333024ce1eea8240c0ba69596 /src/conf_mode/system_console.py | |
parent | b618790b9e5ab51e5d4f65e6756fedca70882cba (diff) | |
download | vyos-1x-a12079f7cb7f8c10bfb309375c3397852502ed78.tar.gz vyos-1x-a12079f7cb7f8c10bfb309375c3397852502ed78.zip |
snmp: T3996: fix invalid IPv6 localhost handling when using listen-address
We need to use a temporary variable when validating the tuple if address
is used. If not the else branch will always add the tuple to the list of
addresses used for listen-address.
(cherry picked from commit d13b91462487e090b32c0d1ecf9139a2271b4837)
Diffstat (limited to 'src/conf_mode/system_console.py')
0 files changed, 0 insertions, 0 deletions