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

diff --git a/ryu/lib/packet/packet_base.py b/ryu/lib/packet/packet_base.py
index 0731fd9..cbc213f 100644
--- a/ryu/lib/packet/packet_base.py
+++ b/ryu/lib/packet/packet_base.py
@@ -56,21 +56,16 @@ class PacketBase(stringify.StringifyMixin):
         This method is used only when decoding a packet.
 
         Decode a protocol header at offset 0 in bytearray *buf*.
-        Returns the following two objects.
+        Returns the following three objects.
 
         * An object to describe the decoded header.
-          It should have the following attributes at least.
-
-          =========== ============
-          Attribute   Description
-          =========== ============
-          length      The number of the corresponding on-wire octets.
-          =========== ============
 
         * A packet_base.PacketBase subclass appropriate for the rest of
           the packet.  None when the rest of the packet should be considered
           as raw payload.
 
+        * The rest of packet.
+
         """
         pass
 
-- 
1.8.3.1


------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to