diff --git a/yabmp/core/protocol.py b/yabmp/core/protocol.py index 0026f7d..cf36c33 100644 --- a/yabmp/core/protocol.py +++ b/yabmp/core/protocol.py @@ -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)]