aboutsummaryrefslogtreecommitdiffstats
path: root/src/utils/meas_vis.c
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2020-05-09 19:17:12 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2020-07-15 18:38:11 +0200
commit8e9f40a912a1c1157c84ff99449e5626963a0c3d (patch)
tree6777fb2d1c9cdbf92ae819fc93399f815d4795a9 /src/utils/meas_vis.c
parent56c7ecda0e391d77fc2ffe90adafbf864365c60c (diff)
Use OSMO_FD_* instead of deprecated BSC_FD_*
New define is available since libosmocore 1.1.0, and we already require 1.3.0, so no need to update dependenices. Let's change it to avoid people re-using old BSC_FD_* symbols when copy-pasting somewhere else. Change-Id: Ia5a656567d212fa265aef1375d714d0c5fee5dd6
Diffstat (limited to 'src/utils/meas_vis.c')
-rw-r--r--src/utils/meas_vis.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/meas_vis.c b/src/utils/meas_vis.c
index 01be98611..73ccfc4aa 100644
--- a/src/utils/meas_vis.c
+++ b/src/utils/meas_vis.c
@@ -125,7 +125,7 @@ static int udp_fd_cb(struct osmo_fd *ofd, unsigned int what)
{
int rc;
- if (what & BSC_FD_READ) {
+ if (what & OSMO_FD_READ) {
struct msgb *msg = msgb_alloc(1024, "UDP Rx");
rc = read(ofd->fd, msgb_data(msg), msgb_tailroom(msg));