diff options
author | Ondrej Zajicek <santiago@crfreenet.org> | 2009-08-27 19:01:04 +0200 |
---|---|---|
committer | Ondrej Zajicek <santiago@crfreenet.org> | 2009-08-27 19:01:04 +0200 |
commit | 05198c12f48c9d4a65ee6d1d4117bd8067a71131 (patch) | |
tree | 1e2ad34f41df5cec921ea7f4757a4ce3012aa34f /proto/bgp/attrs.c | |
parent | 949bd34e81ee99370decdabefa51c9c11ffe915b (diff) |
Some cleanups.
Diffstat (limited to 'proto/bgp/attrs.c')
-rw-r--r-- | proto/bgp/attrs.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/proto/bgp/attrs.c b/proto/bgp/attrs.c index bf976a6e..831ada57 100644 --- a/proto/bgp/attrs.c +++ b/proto/bgp/attrs.c @@ -1131,6 +1131,8 @@ as4_aggregator_valid(struct adata *aggr) if ((a[0] == 0) || (a[1] == 0)) return 0; + + return 1; } @@ -1245,7 +1247,6 @@ bgp_decode_attrs(struct bgp_conn *conn, byte *attr, unsigned int len, struct lin int errcode; byte *z, *attr_start; byte seen[256/8]; - eattr *e; ea_list *ea; struct adata *ad; |