From bfe6298505aa4b358b103cd8fc57d39c7bb1a00f Mon Sep 17 00:00:00 2001 From: pilbbq <53047591+pilbbq@users.noreply.github.com> Date: Wed, 19 Feb 2020 12:08:02 +0100 Subject: [PATCH] fixing vxlan check if mac option is specified --- nxos-tools/nxos_reader.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/nxos-tools/nxos_reader.py b/nxos-tools/nxos_reader.py index d064ede..9f5fefc 100755 --- a/nxos-tools/nxos_reader.py +++ b/nxos-tools/nxos_reader.py @@ -268,8 +268,7 @@ def show_vlans_macs(conn_str): exit(1) elif not args.s_conn: try: - assert args.vxlan - assert args.vlans_macs + assert args.vxlan or args.vlans_macs except AssertionError: parser.error('slave connection string not provided') exit(1)