aboutsummaryrefslogtreecommitdiff
path: root/utilities/ovs-tcpundump.in
diff options
context:
space:
mode:
authorEthan Jackson <ethan@nicira.com>2010-12-11 15:24:40 -0800
committerEthan Jackson <ethan@nicira.com>2010-12-11 15:26:55 -0800
commita4c1a933e99f9df7d700c72fddb8e05f94e6f7c8 (patch)
treeec30924613fc6802bb88f77f10652afbe8f9c39f /utilities/ovs-tcpundump.in
parentf267de8ae6af2509128d28e1cd0dd21aee7c9734 (diff)
utilities: ovs-tcpdump references non-existent exception
ovs-tcpdump would not behave properly when users attempted to pass invalid arguments.
Diffstat (limited to 'utilities/ovs-tcpundump.in')
-rwxr-xr-xutilities/ovs-tcpundump.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/utilities/ovs-tcpundump.in b/utilities/ovs-tcpundump.in
index c0189984..4f239057 100755
--- a/utilities/ovs-tcpundump.in
+++ b/utilities/ovs-tcpundump.in
@@ -36,7 +36,7 @@ if __name__ == "__main__":
try:
options, args = getopt.gnu_getopt(sys.argv[1:], 'hV',
['help', 'version'])
- except getopt.GetoptPcapException, geo:
+ except getopt.GetoptError, geo:
sys.stderr.write("%s: %s\n" % (argv0, geo.msg))
sys.exit(1)