diff options
author | OHMURA Kei <ohmura.kei@lab.ntt.co.jp> | 2012-10-05 23:29:41 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2012-10-05 23:37:18 +0900 |
commit | 9c30012955c45226403b84a7d09d9095301f62f1 (patch) | |
tree | 3bf265cb70d4313a9ca627decb8673caadf74f42 | |
parent | 9314fa4c64a2b8b21d3f749c12cce348dfc1966c (diff) |
packet lib: fix icmp echo serialize
Fix the merge breakage.
Signed-off-by: OHMURA Kei <ohmura.kei@lab.ntt.co.jp>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
-rw-r--r-- | ryu/lib/packet/icmp.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ryu/lib/packet/icmp.py b/ryu/lib/packet/icmp.py index cce7e979..72e87a89 100644 --- a/ryu/lib/packet/icmp.py +++ b/ryu/lib/packet/icmp.py @@ -103,7 +103,7 @@ class echo(object): return msg def serialize(self): - hdr = bytearray(struct.pack(Echo._PACK_STR, self.id, + hdr = bytearray(struct.pack(echo._PACK_STR, self.id, self.seq)) if self.data is not None: |