diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/memtypes.c | 1 | ||||
-rw-r--r-- | lib/mqueue.h | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/lib/memtypes.c b/lib/memtypes.c index 9479feb2..7c4c6f61 100644 --- a/lib/memtypes.c +++ b/lib/memtypes.c @@ -115,6 +115,7 @@ struct memory_list memory_list_bgp[] = { MTYPE_PEER_GROUP, "Peer group" }, { MTYPE_PEER_DESC, "Peer description" }, { MTYPE_PEER_PASSWORD, "Peer password string" }, + { MTYPE_BGP_PEER_ID_TABLE, "Peer ID table" }, { MTYPE_BGP_SESSION, "BGP session" }, { MTYPE_BGP_CONNECTION, "BGP connection" }, { MTYPE_BGP_NOTIFY, "BGP notification" }, diff --git a/lib/mqueue.h b/lib/mqueue.h index 32ac599e..b1332e68 100644 --- a/lib/mqueue.h +++ b/lib/mqueue.h @@ -96,6 +96,8 @@ struct args char data[mqb_args_size_max] ; /* empty space */ } ; +#define MQB_ARGS_SIZE_OK(s) CONFIRM(sizeof(struct s) <= mqb_args_size_max) + struct mqueue_block { struct args args ; /* user structure */ |