A couple of minor typo fixes.

Signed-off-by: Victor J. Orlikowski <[email protected]>

diff --git a/ryu/lib/packet/bgp.py b/ryu/lib/packet/bgp.py
index cad4380..bbb52ec 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,


Best,
Victor
--
Victor J. Orlikowski <> vjo@[cs.]duke.edu


------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to