summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_msg_read.c
diff options
context:
space:
mode:
authorChris Hall <GMCH@hestia.halldom.com>2010-09-13 17:04:29 +0100
committerChris Hall <GMCH@hestia.halldom.com>2010-09-13 17:04:29 +0100
commit7dce56f42593e60beb0c0403167e6ab1507f12a1 (patch)
treeabf33cfc05bed40b88d44e93c0acc30836031f18 /bgpd/bgp_msg_read.c
parent0cadbd1f2cb40f8fb46c0fcc1e1732dc4c519850 (diff)
downloadquagga-7dce56f42593e60beb0c0403167e6ab1507f12a1.tar.bz2
quagga-7dce56f42593e60beb0c0403167e6ab1507f12a1.tar.xz
Fix to accept Route Refresh messages (message type 5).
Simple bug fix.
Diffstat (limited to 'bgpd/bgp_msg_read.c')
-rw-r--r--bgpd/bgp_msg_read.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd/bgp_msg_read.c b/bgpd/bgp_msg_read.c
index 3c78bcec..ee86df25 100644
--- a/bgpd/bgp_msg_read.c
+++ b/bgpd/bgp_msg_read.c
@@ -132,7 +132,7 @@ static bgp_msg_handler* const bgp_type_handler[] =
[qBGP_MT_UPDATE] = bgp_msg_update_receive,
[qBGP_MT_NOTIFICATION] = bgp_msg_notify_receive,
[qBGP_MT_KEEPALIVE] = bgp_msg_keepalive_receive,
- [qBGP_MT_ROUTE_REFRESH] = bgp_msg_keepalive_receive,
+ [qBGP_MT_ROUTE_REFRESH] = bgp_msg_route_refresh_receive,
[qBGP_MT_CAPABILITY] = bgp_msg_capability_receive,
[qBGP_MT_ROUTE_REFRESH_pre] = bgp_msg_route_refresh_receive
} ;