Add determined remote node type to pri_dump_info_str().
git-svn-id: https://origsvn.digium.com/svn/libpri/branches/1.4@2227 2fbb986a-6c06-0410-b554-c9c1f0a7f128
This commit is contained in:
parent
e7a5d0da62
commit
9effbfc130
2
pri.c
2
pri.c
@ -1729,6 +1729,8 @@ char *pri_dump_info_str(struct pri *ctrl)
|
||||
used = pri_snprintf(buf, used, buf_size, "Switchtype: %s\n",
|
||||
pri_switch2str(ctrl->switchtype));
|
||||
used = pri_snprintf(buf, used, buf_size, "Type: %s\n", pri_node2str(ctrl->localtype));
|
||||
used = pri_snprintf(buf, used, buf_size, "Remote type: %s\n",
|
||||
pri_node2str(ctrl->remotetype));
|
||||
/* Remember that Q921 Counters include Q931 packets (and any retransmissions) */
|
||||
used = pri_snprintf(buf, used, buf_size, "Q931 RX: %d\n", ctrl->q931_rxcount);
|
||||
used = pri_snprintf(buf, used, buf_size, "Q931 TX: %d\n", ctrl->q931_txcount);
|
||||
|
Loading…
Reference in New Issue
Block a user