arehbein has uploaded this change for review.

View Change

gmstap_util: Fix sending out gsmtap messages

Previously undetected, because the vty command 'gsmtap log ...' never used write queue mode

Change-Id: I88ba8984518d2d0327cfacd0d2cdf33c7e1d091b
---
M src/core/gsmtap_util.c
1 file changed, 12 insertions(+), 0 deletions(-)

git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/55/35055/1
diff --git a/src/core/gsmtap_util.c b/src/core/gsmtap_util.c
index d817885..6bcfa1f 100644
--- a/src/core/gsmtap_util.c
+++ b/src/core/gsmtap_util.c
@@ -496,6 +496,7 @@
close(fd);
return NULL;
}
+ osmo_iofd_register(gti->out, gti->wq.bfd.fd);
/* osmo write queue previously used was set up with value of 64 */
osmo_iofd_set_txqueue_max_length(gti->out, 64);
}

To view, visit change 35055. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: I88ba8984518d2d0327cfacd0d2cdf33c7e1d091b
Gerrit-Change-Number: 35055
Gerrit-PatchSet: 1
Gerrit-Owner: arehbein <arehbein@sysmocom.de>
Gerrit-MessageType: newchange