Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
labs
BIRD Internet Routing Daemon
Commits
44f26560
Commit
44f26560
authored
Feb 02, 2010
by
Ondřej Zajíček
Browse files
Workaround for some broken BGP implementations that skip initial KEEPALIVE.
parent
5f47c4c1
Changes
1
Hide whitespace changes
Inline
Side-by-side
proto/bgp/packets.c
View file @
44f26560
...
...
@@ -1001,6 +1001,10 @@ bgp_rx_update(struct bgp_conn *conn, byte *pkt, int len)
BGP_TRACE_RL
(
&
rl_rcv_update
,
D_PACKETS
,
"Got UPDATE"
);
/* Workaround for some BGP implementations that skip initial KEEPALIVE */
if
(
conn
->
state
==
BS_OPENCONFIRM
)
bgp_conn_enter_established_state
(
conn
);
if
(
conn
->
state
!=
BS_ESTABLISHED
)
{
bgp_error
(
conn
,
5
,
0
,
NULL
,
0
);
return
;
}
bgp_start_timer
(
conn
->
hold_timer
,
conn
->
hold_time
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment