Signed-off-by: YAMAMOTO Takashi <[email protected]>
---
 ryu/lib/packet/packet_base.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/ryu/lib/packet/packet_base.py b/ryu/lib/packet/packet_base.py
index e61e7ee..e6774ba 100644
--- a/ryu/lib/packet/packet_base.py
+++ b/ryu/lib/packet/packet_base.py
@@ -40,6 +40,9 @@ class PacketBase(object):
     def __init__(self):
         super(PacketBase, self).__init__()
 
+    def __len__(self):
+        return self._MIN_LEN
+
     @property
     def protocol_name(self):
         return self.__class__.__name__
-- 
1.8.1.5


------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to