Skip to content

Commit

Permalink
librina: removed too detailed debug messages
Browse files Browse the repository at this point in the history
  • Loading branch information
edugrasa committed Apr 23, 2018
1 parent b3961f4 commit 11a85be
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 8 deletions.
7 changes: 0 additions & 7 deletions librina/src/ctrl.c
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,6 @@ struct irati_msg_base * irati_read_next_msg(int cfd)
return NULL;
}

LOG_DBG("Trying to read ctrl msg of %u bytes", size);

serbuf = malloc(size);
if (!serbuf) {
LOG_ERR("Cannot allocate memory");
Expand All @@ -69,8 +67,6 @@ struct irati_msg_base * irati_read_next_msg(int cfd)
return NULL;
}

LOG_DBG("Read ctrl msg of %d bytes from cfd %d", ret, cfd);

/* Here we can malloc the maximum kernel message size. */
resp = (struct irati_msg_base *) deserialize_irati_msg(irati_ker_numtables,
RINA_C_MAX,
Expand Down Expand Up @@ -124,8 +120,6 @@ int irati_write_msg(int cfd, struct irati_msg_base *msg)
ret = 0;
}

LOG_DBG("Wrote ctrl msg of %d bytes to cfd %d", serlen, cfd);

return ret;
}

Expand Down Expand Up @@ -157,7 +151,6 @@ int irati_open_ctrl_port(irati_msg_port_t port_id)
else
info.port_id = port_id;

LOG_DBG("Calling IOCTL with fd %d and port %u", fd, info.port_id);
ret = ioctl(fd, IRATI_CTRL_FLOW_BIND, &info);
if (ret) {
fprintf(stderr, "ioctl(%s) failed: %s\n", IRATI_CTRLDEV_NAME,
Expand Down
1 change: 1 addition & 0 deletions rina-tools/configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,7 @@ AC_CONFIG_FILES([
src/rlite/Makefile
src/key-managers/Makefile
src/rinacat/Makefile
src/tgen-apps/Makefile
doc/Makefile
])
Expand Down
2 changes: 1 addition & 1 deletion rina-tools/src/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# Written by: Francesco Salvestrini <f DOT salvestrini AT nextworks DOT it>
#

SUBDIRS = common rina-echo-time rina-cdap-echo manager mac2ifname rlite key-managers rinacat
SUBDIRS = common rina-echo-time rina-cdap-echo manager mac2ifname rlite key-managers rinacat tgen-apps
EXTRA_DIST =
DISTCLEANFILES =
bin_PROGRAMS =
Expand Down

0 comments on commit 11a85be

Please sign in to comment.