[ovs-git] [openvswitch/ovs] 7b8d8c: ovs-tcpdump: Fix an undefined variable
Ben Pfaff
noreply at github.com
Mon Feb 4 20:29:23 UTC 2019
Branch: refs/heads/branch-2.6
Home: https://github.com/openvswitch/ovs
Commit: 7b8d8cd1f6477262f5fd3b52da83f33185a3dce0
https://github.com/openvswitch/ovs/commit/7b8d8cd1f6477262f5fd3b52da83f33185a3dce0
Author: Hyong Youb Kim <hyonkim at cisco.com>
Date: 2019-02-04 (Mon, 04 Feb 2019)
Changed paths:
M utilities/ovs-tcpdump.in
Log Message:
-----------
ovs-tcpdump: Fix an undefined variable
Run ovs-tcpdump without --span, and it throws the following
exception. Define mirror_select_all to avoid the error.
Traceback (most recent call last):
File "/usr/local/bin/ovs-tcpdump", line 488, in <module>
main()
File "/usr/local/bin/ovs-tcpdump", line 454, in main
mirror_select_all)
UnboundLocalError: local variable 'mirror_select_all' referenced before assignment
Fixes: 0475db71c650 ("ovs-tcpdump: Add --span to mirror all ports on bridge.")
Acked-by: Ilya Maximets <i.maximets at samsung.com>
Signed-off-by: Hyong Youb Kim <hyonkim at cisco.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>
More information about the git
mailing list