diff --git a/executables/nr-softmodem.c b/executables/nr-softmodem.c
index 35142983c4d7eb55075d9a087ff46b0153958a88..c7e636736b92e6b1a043ed8dff6effd0c98eebb4 100644
--- a/executables/nr-softmodem.c
+++ b/executables/nr-softmodem.c
@@ -363,7 +363,7 @@ int create_gNB_tasks(uint32_t gnb_nb) {
         }
       }
 
-      if (itti_create_task (TASK_GTPV1_U, &gtpv1u_gNB_task, NULL) < 0) {
+      if (itti_create_task (TASK_GTPV1_U, &nr_gtpv1u_gNB_task, NULL) < 0) {
         LOG_E(GTPU, "Create task for GTPV1U failed\n");
         return -1;
       }