aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/ipaccess/abisip-find.c
diff options
context:
space:
mode:
Diffstat (limited to 'openbsc/src/ipaccess/abisip-find.c')
-rw-r--r--openbsc/src/ipaccess/abisip-find.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/openbsc/src/ipaccess/abisip-find.c b/openbsc/src/ipaccess/abisip-find.c
index 5b36272e8..21d9f2290 100644
--- a/openbsc/src/ipaccess/abisip-find.c
+++ b/openbsc/src/ipaccess/abisip-find.c
@@ -200,9 +200,7 @@ int main(int argc, char **argv)
exit(1);
}
- timer.cb = timer_cb;
- timer.data = &bfd;
-
+ osmo_timer_setup(&timer, timer_cb, &bfd);
osmo_timer_schedule(&timer, 5, 0);
printf("Trying to find ip.access BTS by broadcast UDP...\n");