osmux: Log remote address upon rx of osmux pkt
Related: SYS#5987 Change-Id: I391bc02a16eae1602680cb96128252f262852e14
This commit is contained in:
parent
3fd60a5784
commit
b73c46ae97
|
@ -263,9 +263,11 @@ static int osmux_read_fd_cb(struct osmo_fd *ofd, unsigned int what)
|
|||
while ((osmuxh = osmux_xfrm_output_pull(msg)) != NULL) {
|
||||
struct gsm_lchan *lchan = osmux_lchan_find(bts, &rem_addr, osmuxh->circuit_id);
|
||||
if (!lchan) {
|
||||
char addr_str[64];
|
||||
osmo_sockaddr_to_str_buf(addr_str, sizeof(addr_str), &rem_addr);
|
||||
LOGP(DOSMUX, LOGL_NOTICE,
|
||||
"Cannot find lchan for circuit_id=%d\n",
|
||||
osmuxh->circuit_id);
|
||||
"Cannot find lchan for %s CID=%d\n",
|
||||
addr_str, osmuxh->circuit_id);
|
||||
continue;
|
||||
}
|
||||
osmux_xfrm_output_sched(lchan->abis_ip.osmux.out, osmuxh);
|
||||
|
|
Loading…
Reference in New Issue