l2tp_packet: remove logoutput on every data packet

This commit is contained in:
Alexander Couzens 2016-11-11 16:18:24 +01:00
parent 95f8ae04bd
commit 9143daf21e
2 changed files with 1 additions and 4 deletions

View File

@ -263,9 +263,7 @@ int unix_rsl_oml_cb(struct osmo_fd *fd)
l2tp_sock_cleanup(fd);
return 0;
}
if (rc > 3) {
LOGP(DL2TP, LOGL_ERROR, "read %d\n", rc);
}
msgb_put(msg, rc);
msg->dst = channel->session;

View File

@ -942,7 +942,6 @@ int l2tp_rcvmsg(struct msgb *msg)
return l2tp_rcvmsg_control(msg);
} else {
l2tp_rcvmsg_data(msg);
LOGP(DL2TP, LOGL_ERROR, "Received session %d data.\n", session);
}
return -1;
}