diff options
author | Victor Orlikowski <vjo@duke.edu> | 2016-01-21 20:05:28 +0000 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2016-01-30 23:55:05 +0900 |
commit | 9386be6ebcb42988e3131ae721b6b8fca81eb250 (patch) | |
tree | dfb264a6032641f637f258f2164aa98620134d30 | |
parent | c1c78269acd501a3bae4c2994c234ecdbce44689 (diff) |
Typo fixes in lib/packet/bgp.py
A couple of minor typo fixes.
Signed-off-by: Victor J. Orlikowski <vjo@duke.edu>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
-rw-r--r-- | ryu/lib/packet/bgp.py | 4 |
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, |