Page MenuHomeVyOS Platform

show nat source translations - fails to function
Closed, InvalidPublicBUG

Description

when issuing the 'show nat source translations' command, the below error is always displayed

vyos@VYOS-01:~$ show nat source translations
Traceback (most recent call last):

File "/usr/libexec/vyos/op_mode/nat.py", line 331, in <module>
  res = vyos.opmode.run(sys.modules[__name__])
File "/usr/lib/python3/dist-packages/vyos/opmode.py", line 212, in run
  res = func(**args)
File "/usr/libexec/vyos/op_mode/nat.py", line 296, in _wrapper
  return func(*args, **kwargs)
File "/usr/libexec/vyos/op_mode/nat.py", line 326, in show_translations
  return _get_formatted_translation(nat_translation, direction, family, verbose)

NameError: name 'verbose' is not defined
vyos@VYOS-01:~$

This used to work in earlier vyos version 1.3-beta-202107121144

Details

Difficulty level
Unknown (require assessment)
Version
1.4-rolling-202212280917
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Behavior change
Issue type
Bug (incorrect behavior)

Event Timeline

are you saying this has been fixed in just the last 2 months ? i reported this on 1.4-rolling-202212280917

thank you, yes updating to latest 1.4 rolling has resolved the issue, pls feel free to close this task as duplicate to https://vyos.dev/T4907