diff --git a/ryu/app/ofctl_rest.py b/ryu/app/ofctl_rest.py
index <HASH>..<HASH> 100644
--- a/ryu/app/ofctl_rest.py
+++ b/ryu/app/ofctl_rest.py
@@ -519,10 +519,13 @@ class StatsController(ControllerBase):
         if dp is None:
             return Response(status=404)
 
-        flow = {'table_id': dp.ofproto.OFPTT_ALL}
-
         _ofp_version = dp.ofproto.OFP_VERSION
 
+        if ofproto_v1_0.OFP_VERSION == _ofp_version:
+            flow = {}
+        else:
+            flow = {'table_id': dp.ofproto.OFPTT_ALL}
+
         _ofctl = supported_ofctl.get(_ofp_version, None)
         if _ofctl is not None:
             _ofctl.mod_flow_entry(dp, flow, dp.ofproto.OFPFC_DELETE)
ofctl_rest: fix error of delete_flow_entry

ofctl_rest caused an exception when run delete_flow_entry command in OpenFlow<I>.
this patch fixes this problem.