diff options
author | Sander Vrijders <[email protected]> | 2017-03-22 17:37:53 +0100 |
---|---|---|
committer | Sander Vrijders <[email protected]> | 2017-03-22 17:37:53 +0100 |
commit | cc17dcbd61f0230db4c8a05ae489e1025c0669e2 (patch) | |
tree | 5134af1cb5718df974ce276a511be19a17b7b7ae /src/ipcpd/normal/ribmgr.c | |
parent | e8e0f3eff3e7fc7e5c7949bd2726ab659d3c04ed (diff) | |
download | ouroboros-cc17dcbd61f0230db4c8a05ae489e1025c0669e2.tar.gz ouroboros-cc17dcbd61f0230db4c8a05ae489e1025c0669e2.zip |
ipcpd: normal: Add memset of conn_info
This initializes conn_info in the ribmgr and fmgr before it is passed
to cacep.
Diffstat (limited to 'src/ipcpd/normal/ribmgr.c')
-rw-r--r-- | src/ipcpd/normal/ribmgr.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ipcpd/normal/ribmgr.c b/src/ipcpd/normal/ribmgr.c index ec465c6b..ef79f627 100644 --- a/src/ipcpd/normal/ribmgr.c +++ b/src/ipcpd/normal/ribmgr.c @@ -78,6 +78,8 @@ int ribmgr_init(void) enum pol_gam pg; struct conn_info info; + memset(&info, 0, sizeof(info)); + strcpy(info.ae_name, MGMT_AE); strcpy(info.protocol, CDAP_PROTO); info.pref_version = 1; |