Signed-off-by: Wataru ISHIDA <[email protected]>
---
ryu/app/rest_router.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/ryu/app/rest_router.py b/ryu/app/rest_router.py
index e0ca1bf..26443a6 100644
--- a/ryu/app/rest_router.py
+++ b/ryu/app/rest_router.py
@@ -1831,6 +1831,8 @@ def ipv4_int_to_text(ip_int):
def ipv4_text_to_int(ip_text):
+ if ip_text == 0:
+ return ip_text
assert isinstance(ip_text, str)
return struct.unpack('!I', addrconv.ipv4.text_to_bin(ip_text))[0]
--
1.7.9.5
------------------------------------------------------------------------------
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