[ovs-git] [openvswitch/ovs] 481e4c: ovs-tcpdump: Fix an undefined variable
Ben Pfaff
noreply at github.com
Mon Feb 4 20:29:11 UTC 2019
Branch: refs/heads/branch-2.8
Home: https://github.com/openvswitch/ovs
Commit: 481e4c37f1dd6f26cd8a2f4fcc1e3c9f173a206b
https://github.com/openvswitch/ovs/commit/481e4c37f1dd6f26cd8a2f4fcc1e3c9f173a206b
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