summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--ryu/lib/packet/bgp.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ryu/lib/packet/bgp.py b/ryu/lib/packet/bgp.py
index 1038b5e3..27277b83 100644
--- a/ryu/lib/packet/bgp.py
+++ b/ryu/lib/packet/bgp.py
@@ -2009,7 +2009,7 @@ class BGPPathAttributeMpReachNLRI(_PathAttribute):
elif afi == addr_family.IP6:
self._next_hop_bin = addrconv.ipv6.text_to_bin(next_hop)
else:
- raise ValueError('Invalid address familly(%d)' % afi)
+ raise ValueError('Invalid address family(%d)' % afi)
self._reserved = reserved
self.nlri = nlri
addr_cls = _get_addr_class(afi, safi)
@@ -2054,7 +2054,7 @@ class BGPPathAttributeMpReachNLRI(_PathAttribute):
next_hop_len = 16
next_hop = addrconv.ipv6.bin_to_text(next_hop_bin)
else:
- raise ValueError('Invalid address familly(%d)' % afi)
+ raise ValueError('Invalid address family(%d)' % afi)
return {
'afi': afi,