Skip to content

Commit

Permalink
typo error
Browse files Browse the repository at this point in the history
Signed-off-by: Peng Xiao <[email protected]>
  • Loading branch information
xiaopeng163 committed Dec 12, 2016
1 parent 4d38bad commit fbca5a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion yabmp/core/protocol.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ def write_msg_file(self, msg_type, msg):
self.bgp_peer_dict[peer_ip]['msg_seq'] += 1
self.bgp_peer_dict[peer_ip]['file'].flush()
if self.channel:
self.channel.send_message(exchange='', message={'type': 7, 'mst_type': 2, 'peer_ip': peer_ip})
self.channel.send_message(exchange='', message={'type': 7, 'msg_type': 2, 'peer_ip': peer_ip})

elif msg_type == 3: # peer up message
msg_list = [time.time(), self.bgp_peer_dict[peer_ip]['msg_seq'], 1, msg[1]['received_open_msg'], (0, 0)]
Expand Down

0 comments on commit fbca5a1

Please sign in to comment.