summaryrefslogtreecommitdiff
path: root/src/ipcpd
diff options
context:
space:
mode:
Diffstat (limited to 'src/ipcpd')
-rw-r--r--src/ipcpd/normal/fmgr.c2
-rw-r--r--src/ipcpd/normal/ribmgr.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/ipcpd/normal/fmgr.c b/src/ipcpd/normal/fmgr.c
index e78dd2d6..2906b9e2 100644
--- a/src/ipcpd/normal/fmgr.c
+++ b/src/ipcpd/normal/fmgr.c
@@ -289,6 +289,8 @@ int fmgr_init(void)
}
}
+ memset(&info, 0, sizeof(info));
+
strcpy(info.ae_name, DT_AE);
strcpy(info.protocol, FRCT_PROTO);
info.pref_version = 1;
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;