projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f267de8
)
utilities: ovs-tcpdump references non-existent exception
author
Ethan Jackson
<ethan@nicira.com>
Sat, 11 Dec 2010 23:24:40 +0000
(15:24 -0800)
committer
Ethan Jackson
<ethan@nicira.com>
Sat, 11 Dec 2010 23:26:55 +0000
(15:26 -0800)
ovs-tcpdump would not behave properly when users attempted to pass
invalid arguments.
utilities/ovs-tcpundump.in
patch
|
blob
|
history
diff --git
a/utilities/ovs-tcpundump.in
b/utilities/ovs-tcpundump.in
index c01899848c6469f26779ee2927e7268eccae66b0..4f239057b4715ad4cdccbc5d2776925eeb6d015a 100755
(executable)
--- 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.Getopt
PcapException
, geo:
+ except getopt.Getopt
Error
, geo:
sys.stderr.write("%s: %s\n" % (argv0, geo.msg))
sys.exit(1)