From 9effbfc130280519fe4e4bd4d443c04b50a4e2ab Mon Sep 17 00:00:00 2001 From: Richard Mudgett Date: Mon, 28 Feb 2011 20:58:41 +0000 Subject: [PATCH] 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 --- pri.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pri.c b/pri.c index 50fb79d..c043318 100644 --- a/pri.c +++ b/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);