summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorIWASE Yusuke <iwase.yusuke0@gmail.com>2017-09-05 10:13:31 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2017-09-17 13:36:10 +0900
commita104e11c0d789b469bcece2d69b0386e8661073e (patch)
treee0c946367626f2407a0608a73fb73b4050947dc9
parent96891addf5c654cc8ab11e46983fc087f5f4ee69 (diff)
packet/zebra: Return "ZebraMessage" for message from Zebra
Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
-rw-r--r--ryu/lib/packet/zebra.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ryu/lib/packet/zebra.py b/ryu/lib/packet/zebra.py
index c6513914..76668afa 100644
--- a/ryu/lib/packet/zebra.py
+++ b/ryu/lib/packet/zebra.py
@@ -834,7 +834,7 @@ class _ZebraMessageFromZebra(ZebraMessage):
@classmethod
def parser(cls, buf):
- return cls._parser_impl(buf, body_parser='parse_from_zebra')
+ return ZebraMessage._parser_impl(buf, body_parser='parse_from_zebra')
# Alias