Signed-off-by: YAMAMOTO Takashi <[email protected]>
---
 ryu/app/rest_router.py | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/ryu/app/rest_router.py b/ryu/app/rest_router.py
index f3cac02..47840e9 100644
--- a/ryu/app/rest_router.py
+++ b/ryu/app/rest_router.py
@@ -1657,9 +1657,11 @@ class OfCtl_v1_0(OfCtl):
         # Decrement TTL value is not supported at OpenFlow V1.0
         actions = []
         if src_mac:
-            
actions.append(ofp_parser.OFPActionSetDlSrc(mac_lib.haddr_to_bin(src_mac)))
+            actions.append(ofp_parser.OFPActionSetDlSrc(
+                           mac_lib.haddr_to_bin(src_mac)))
         if dst_mac:
-            
actions.append(ofp_parser.OFPActionSetDlDst(mac_lib.haddr_to_bin(dst_mac)))
+            actions.append(ofp_parser.OFPActionSetDlDst(
+                           mac_lib.haddr_to_bin(dst_mac)))
         if outport is not None:
             actions.append(ofp_parser.OFPActionOutput(outport))
 
-- 
1.8.3.1


------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to