From 2a9e064d7b41ae6e944dd9fbcb18b89e8fda0dba Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Fri, 21 Apr 2000 12:25:35 +0000 Subject: If no NLRI's are present in an UPDATE message, parse the attributes, but don't check presence of mandatory attributes. [draft-09] --- proto/bgp/bgp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'proto/bgp/bgp.h') 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 *); -- cgit v1.2.3