diff options
author | Martin Mares <mj@ucw.cz> | 2000-04-21 12:25:35 +0000 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 2000-04-21 12:25:35 +0000 |
commit | 2a9e064d7b41ae6e944dd9fbcb18b89e8fda0dba (patch) | |
tree | a4c7df02e0857276b4244eebd1b25b807c48eec0 /proto/bgp/bgp.h | |
parent | f380aa60faa41872b78155f899518b25933d18b9 (diff) |
If no NLRI's are present in an UPDATE message, parse the attributes, but
don't check presence of mandatory attributes. [draft-09]
Diffstat (limited to 'proto/bgp/bgp.h')
-rw-r--r-- | proto/bgp/bgp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/proto/bgp/bgp.h b/proto/bgp/bgp.h index f579ce66..b8e1abcf 100644 --- a/proto/bgp/bgp.h +++ b/proto/bgp/bgp.h @@ -94,7 +94,7 @@ void bgp_close_conn(struct bgp_conn *c); /* attrs.c */ -struct rta *bgp_decode_attrs(struct bgp_conn *conn, byte *a, unsigned int len, struct linpool *pool); +struct rta *bgp_decode_attrs(struct bgp_conn *conn, byte *a, unsigned int len, struct linpool *pool, int mandatory); int bgp_get_attr(struct eattr *e, byte *buf); int bgp_rte_better(struct rte *, struct rte *); void bgp_rt_notify(struct proto *, struct network *, struct rte *, struct rte *, struct ea_list *); |