ovs-ofctl: New "ofctl/set-output-file" unixctl command.
[openvswitch] / utilities / ovs-tcpundump.in
index c01899848c6469f26779ee2927e7268eccae66b0..4f239057b4715ad4cdccbc5d2776925eeb6d015a 100755 (executable)
@@ -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)