summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--ryu/lib/packet/bgp.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/ryu/lib/packet/bgp.py b/ryu/lib/packet/bgp.py
index fb82412f..ff6fdd0c 100644
--- a/ryu/lib/packet/bgp.py
+++ b/ryu/lib/packet/bgp.py
@@ -1960,6 +1960,11 @@ class BGPPathAttributeMpReachNLRI(_PathAttribute):
_ATTR_FLAGS = BGP_ATTR_FLAG_OPTIONAL
_class_suffixes = ['AddrPrefix']
_rd_length = 8
+ _TYPE = {
+ 'ascii': [
+ 'next_hop'
+ ]
+ }
def __init__(self, afi, safi, next_hop, nlri,
next_hop_len=0, reserved='\0',