summaryrefslogtreecommitdiffstats
path: root/proto/bgp/packets.c
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2009-08-27 19:01:04 +0200
committerOndrej Zajicek <santiago@crfreenet.org>2009-08-27 19:01:04 +0200
commit05198c12f48c9d4a65ee6d1d4117bd8067a71131 (patch)
tree1e2ad34f41df5cec921ea7f4757a4ce3012aa34f /proto/bgp/packets.c
parent949bd34e81ee99370decdabefa51c9c11ffe915b (diff)
downloadbird-05198c12f48c9d4a65ee6d1d4117bd8067a71131.tar
bird-05198c12f48c9d4a65ee6d1d4117bd8067a71131.zip
Some cleanups.
Diffstat (limited to 'proto/bgp/packets.c')
-rw-r--r--proto/bgp/packets.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/proto/bgp/packets.c b/proto/bgp/packets.c
index ae4906e..49c2add 100644
--- a/proto/bgp/packets.c
+++ b/proto/bgp/packets.c
@@ -488,7 +488,6 @@ bgp_parse_capabilities(struct bgp_conn *conn, byte *opt, int len)
{
struct bgp_proto *p = conn->bgp;
int cl;
- u32 as;
while (len > 0)
{
@@ -570,7 +569,6 @@ bgp_rx_open(struct bgp_conn *conn, byte *pkt, int len)
{
struct bgp_conn *other;
struct bgp_proto *p = conn->bgp;
- struct bgp_config *cf = p->cf;
unsigned hold;
u16 base_as;
u32 id;