summaryrefslogtreecommitdiff
path: root/src/tools/irm/main.c
diff options
context:
space:
mode:
authorSander Vrijders <[email protected]>2016-02-25 19:14:26 +0100
committerSander Vrijders <[email protected]>2016-02-25 19:14:26 +0100
commit63633c57b1e2573890fa627dd63f7c79ee5777b8 (patch)
tree003bcaee3d5e0e15a951a8a2fb5da63db2f1079d /src/tools/irm/main.c
parent3c21e9192fc64bd8c27501e524953b564afa50e4 (diff)
downloadouroboros-63633c57b1e2573890fa627dd63f7c79ee5777b8.tar.gz
ouroboros-63633c57b1e2573890fa627dd63f7c79ee5777b8.zip
lib, irmd, tools: Support to create IPCPs
Provides the initial support to create IPCPs via a command-line tool. It extends the socket layer with a message that is sent over a socket to the irmd when the irm_create_ipcp library function is called from a program.
Diffstat (limited to 'src/tools/irm/main.c')
-rw-r--r--src/tools/irm/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tools/irm/main.c b/src/tools/irm/main.c
index 6439243c..470a8166 100644
--- a/src/tools/irm/main.c
+++ b/src/tools/irm/main.c
@@ -32,6 +32,8 @@ int main () {
rina_name_t name;
name.ap_name = ap_name;
name.api_id = 1;
+ name.ae_name = "";
+ name.aei_id = 0;
if (irm_create_ipcp(name, ipcp_type)) {
LOG_ERR("Failed to create IPCP");