ovs-ctl: Fix ovs-dpctl invocation.
authorBen Pfaff <blp@nicira.com>
Wed, 29 Jun 2011 22:53:45 +0000 (15:53 -0700)
committerBen Pfaff <blp@nicira.com>
Wed, 29 Jun 2011 23:10:43 +0000 (16:10 -0700)
There's no $dpctl variable so this always failed.

utilities/ovs-ctl.in

index 6b0337f3e2e55f27aebd100cfaf5f08e51fb9479..a1499053dedd41115170442d3d9c584d36735f89 100755 (executable)
@@ -244,7 +244,7 @@ force_reload_kmod () {
     chmod +x "$script"
 
     for dp in `ovs-dpctl dump-dps`; do
-        action "Removing datapath: $dp" "$dpctl" del-dp "$dp"
+        action "Removing datapath: $dp" ovs-dpctl del-dp "$dp"
     done
 
     if test -e /sys/module/openvswitch_mod; then