summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorIWASE Yusuke <iwase.yusuke0@gmail.com>2017-09-05 10:13:30 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2017-09-17 13:36:02 +0900
commit96891addf5c654cc8ab11e46983fc087f5f4ee69 (patch)
treec7a356155873ed893aeb6eb035ae41ab79f70c5b
parent0673a8868e4447e7b2ec551c720aeb929993727d (diff)
packet/zebra: Fix unresolved reference for _serialize_nexthops
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 2858e053..c6513914 100644
--- a/ryu/lib/packet/zebra.py
+++ b/ryu/lib/packet/zebra.py
@@ -1845,7 +1845,7 @@ class _ZebraIPNexthopLookupMRib(_ZebraMessageBody):
buf += struct.pack(
self._DISTANCE_METRIC_FMT, self.distance, self.metric)
- return buf + self._serialize_nexthops(self.nexthops)
+ return buf + _serialize_nexthops(self.nexthops)
@_ZebraMessageBody.register_type(ZEBRA_IPV4_NEXTHOP_LOOKUP_MRIB)