summaryrefslogtreecommitdiff
path: root/src/ipcpd/normal/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ipcpd/normal/main.c')
-rw-r--r--src/ipcpd/normal/main.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/ipcpd/normal/main.c b/src/ipcpd/normal/main.c
index 2402972f..a5161718 100644
--- a/src/ipcpd/normal/main.c
+++ b/src/ipcpd/normal/main.c
@@ -108,6 +108,10 @@ static int normal_ipcp_name_query(char * name)
* for certain names.
*/
+ /* FIXME: Here for testing purposes */
+ if (strcmp(name, "normal.app") == 0)
+ return 0;
+
return -1;
}
@@ -145,6 +149,12 @@ static int normal_ipcp_enroll(char * dif_name)
pthread_rwlock_unlock(&ipcpi.state_lock);
+ /* FIXME: Remove once we obtain neighbors during enrollment */
+ if (fmgr_nm1_dt_flow(dif_name, QOS_CUBE_BE)) {
+ LOG_ERR("Failed to establish data transfer flow.");
+ return -1;
+ }
+
return 0;
}