[ipaccess] Start the parser recursively...
* Start parsing the sub SDPs with the same analyze method
diff --git a/openbsc/src/ipaccess/ipaccess-firmware.c b/openbsc/src/ipaccess/ipaccess-firmware.c
index 1325e55..f0c23e3 100644
--- a/openbsc/src/ipaccess/ipaccess-firmware.c
+++ b/openbsc/src/ipaccess/ipaccess-firmware.c
@@ -155,13 +155,9 @@
return;
}
- rc = read(fd, &buf, 4);
- if (rc != 4) {
- perror("peek failed");
- return;
- }
-
- printf("FOO %.4s\n", buf);
+ printf("------> parsing\n");
+ analyze_file(fd, ntohl(entry.length), offset);
+ printf("<------ parsing\n");
}
}