summaryrefslogtreecommitdiff
path: root/src/lib/cacep.c
diff options
context:
space:
mode:
authorSander Vrijders <sander.vrijders@intec.ugent.be>2017-03-02 15:16:32 +0000
committerdimitri staessens <dimitri.staessens@intec.ugent.be>2017-03-02 15:16:32 +0000
commit46c2f9d5363cdff2d99cf1b1c4a41c5bf97d2c03 (patch)
tree7c4931890ee54d9bac331ac6031f411ddac08527 /src/lib/cacep.c
parenta5796c7f02570a2878f9c6a5d28dca80beabed12 (diff)
parent9d2fbef7b8569aac930c95ca1afb92a5dec79dac (diff)
downloadouroboros-46c2f9d5363cdff2d99cf1b1c4a41c5bf97d2c03.tar.gz
ouroboros-46c2f9d5363cdff2d99cf1b1c4a41c5bf97d2c03.zip
Merged in sandervrijders/ouroboros/be-aes (pull request #395)
ipcpd: normal: Add connection manager
Diffstat (limited to 'src/lib/cacep.c')
-rw-r--r--src/lib/cacep.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/cacep.c b/src/lib/cacep.c
index abff0aaa..a2c5c3d2 100644
--- a/src/lib/cacep.c
+++ b/src/lib/cacep.c
@@ -49,10 +49,12 @@ int read_msg(int fd,
if (msg == NULL)
return -1;
+ strcpy(info->ae_name, msg->ae_name);
strcpy(info->protocol, msg->protocol);
info->pref_version = msg->pref_version;
info->pref_syntax = msg->pref_syntax;
+ info->addr = msg->address;
cacep_msg__free_unpacked(msg, NULL);
@@ -68,6 +70,7 @@ static int send_msg(int fd,
msg.ae_name = (char *) info->ae_name;
msg.protocol = (char *) info->protocol;
+ msg.address = info->addr;
msg.pref_version = info->pref_version;
msg.pref_syntax = info->pref_syntax;
if (msg.pref_syntax < 0)