Page MenuHomeVyOS Platform

show vpn debug peer doesn't work
Closed, ResolvedPublicBUG

Description

IPsec op-mode site-to-site show vpn debug peer x.x.x.x fails

vyos@r14:~$ show vpn debug peer 192.0.2.2
Traceback (most recent call last):
  File "/usr/libexec/vyos/op_mode/vpn_ipsec.py", line 134, in <module>
    debug_peer(args.name, args.tunnel)
  File "/usr/libexec/vyos/op_mode/vpn_ipsec.py", line 114, in debug_peer
    if not conns:
NameError: name 'conns' is not defined
vyos@r14:~$

Details

Difficulty level
Normal (likely a few hours)
Version
VyOS 1.4-rolling-202207220217
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Perfectly compatible
Issue type
Bug (incorrect behavior)