FreeCalypso > hg > themwi-system-sw
comparison smpp-trx-sa/tcpconn.c @ 263:1bf989f60aa3
smpp-trx-sa: log times of enquire_link packets
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Wed, 11 Oct 2023 21:22:32 -0800 |
parents | 9d6e8d99d2b1 |
children |
comparison
equal
deleted
inserted
replaced
262:f1c024b2b835 | 263:1bf989f60aa3 |
---|---|
51 /* back to the one we just got */ | 51 /* back to the one we just got */ |
52 command_id = (rx_buf[4] << 24) | (rx_buf[5] << 16) | (rx_buf[6] << 8) | | 52 command_id = (rx_buf[4] << 24) | (rx_buf[5] << 16) | (rx_buf[6] << 8) | |
53 rx_buf[7]; | 53 rx_buf[7]; |
54 if (command_id == 0x15 && rx_pdu_len == 16) { | 54 if (command_id == 0x15 && rx_pdu_len == 16) { |
55 send_enq_link_resp(rx_buf); | 55 send_enq_link_resp(rx_buf); |
56 log_enquire_link_item(); | |
56 return; | 57 return; |
57 } | 58 } |
58 log_rx_pdu(rx_buf, rx_pdu_len); | 59 log_rx_pdu(rx_buf, rx_pdu_len); |
59 if (command_id == 0x05 || command_id == 0x103) | 60 if (command_id == 0x05 || command_id == 0x103) |
60 send_message_resp(rx_buf); | 61 send_message_resp(rx_buf); |