summaryrefslogtreecommitdiffhomepage
path: root/ryu/services/protocols/bgp/speaker.py
diff options
context:
space:
mode:
Diffstat (limited to 'ryu/services/protocols/bgp/speaker.py')
-rw-r--r--ryu/services/protocols/bgp/speaker.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ryu/services/protocols/bgp/speaker.py b/ryu/services/protocols/bgp/speaker.py
index 710efa71..35bc9e63 100644
--- a/ryu/services/protocols/bgp/speaker.py
+++ b/ryu/services/protocols/bgp/speaker.py
@@ -70,7 +70,7 @@ class BgpProtocolException(BGPSException):
pass
-def nofitication_factory(code, subcode):
+def notification_factory(code, subcode):
"""Returns a `Notification` message corresponding to given codes.
Parameters:
@@ -573,7 +573,7 @@ class BgpProtocol(Protocol, Activity):
def connection_made(self):
"""Connection to peer handler.
- We send bgp open message to peer and intialize related attributes.
+ We send bgp open message to peer and initialize related attributes.
"""
assert self.state == BGP_FSM_CONNECT
# We have a connection with peer we send open message.