aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax <msuraev@sysmocom.de>2018-11-23 22:08:37 +0000
committerMax <msuraev@sysmocom.de>2018-11-25 22:26:02 +0000
commit82f8846464301cda2bf827ee94d3f5c2f30aff37 (patch)
tree61614d7c9a848629426be08923f053852ba7cc59
parentd72f31bf178496c289e5bf3a7f72f144c5e2071c (diff)
Revert "gbproxy: fix formatting in gbproxy-state command"
In case of multiple bts peers we use '\n' as individual entries separator. This reverts commit fffd6cb0d8011442bb69974675f86ad087b7d8db. Change-Id: I1ea17919ec3ed7e26044df8b5f8324717ee9e32c
-rw-r--r--src/gprs/gb_proxy_ctrl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gprs/gb_proxy_ctrl.c b/src/gprs/gb_proxy_ctrl.c
index 829d6f6a..4b7c2f43 100644
--- a/src/gprs/gb_proxy_ctrl.c
+++ b/src/gprs/gb_proxy_ctrl.c
@@ -64,7 +64,7 @@ static int get_gbproxy_state(struct ctrl_cmd *cmd, void *data)
struct gprs_ra_id raid;
gsm48_parse_ra(&raid, peer->ra);
- cmd->reply = talloc_asprintf_append(cmd->reply, "%u,%u,%u,%u,%u,%u,%s",
+ cmd->reply = talloc_asprintf_append(cmd->reply, "%u,%u,%u,%u,%u,%u,%s\n",
peer->nsei, peer->bvci,
raid.mcc, raid.mnc,
raid.lac, raid.rac,