diff options
author | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2019-03-15 20:54:01 +0100 |
---|---|---|
committer | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2019-03-18 14:29:12 +0100 |
commit | 7e5f769d91319b4130f7d611dd14252806892ace (patch) | |
tree | 232259b8897f8222e638e509871b5bddd06420ec /proto/bgp/bgp.h | |
parent | 5d511948cddee415c2f0f1103bda0468a193f2d6 (diff) |
BGP: Handle case where capabilites are not used
If peer does not announce capabilities at all, or when we have
capabilities disabled, handle that as implicit IPv4 unicast.
Diffstat (limited to 'proto/bgp/bgp.h')
-rw-r--r-- | proto/bgp/bgp.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/proto/bgp/bgp.h b/proto/bgp/bgp.h index cfc88d8e..56dbf485 100644 --- a/proto/bgp/bgp.h +++ b/proto/bgp/bgp.h @@ -215,6 +215,7 @@ struct bgp_caps { u8 llgr_aware; /* Long-lived GR capability, RFC draft */ u16 af_count; /* Number of af_data items */ + u16 length; /* Length of capabilities in OPEN msg */ struct bgp_af_caps af_data[0]; /* Per-AF capability data */ }; |