TWAMP: fix the parent path of TWAMPReflector object

This commit is contained in:
Amin Ben Ramdhane 2021-03-31 10:01:43 +01:00
parent 6f40b3fe47
commit 79aa793d47

View file

@ -19,7 +19,7 @@
/* ********** DynamicObj ********** */
DM_MAP_OBJ tDynamicObj[] = {
/* parentobj, nextobject, parameter */
{"Device.IP.Interface.", tDeviceTWAMPReflectorObj, NULL},
{"Device.IP.Interface.{i}.", tDeviceTWAMPReflectorObj, NULL},
{0}
};
@ -281,7 +281,7 @@ static int browseIPInterfaceTWAMPReflectorInst(struct dmctx *dmctx, DMNODE *pare
return 0;
}
/* *** Device.IP.Interface. *** */
/* *** Device.IP.Interface.{i}. *** */
DMOBJ tDeviceTWAMPReflectorObj[] = {
/* OBJ, permission, addobj, delobj, checkdep, browseinstobj, nextdynamicobj, dynamicleaf, nextobj, leaf, linker, bbfdm_type, uniqueKeys*/
{"TWAMPReflector", &DMWRITE, addObjIPInterfaceTWAMPReflector, delObjIPInterfaceTWAMPReflector, NULL, browseIPInterfaceTWAMPReflectorInst, NULL, NULL, NULL, tIPInterfaceTWAMPReflectorParams, NULL, BBFDM_BOTH, LIST_KEY{"Alias", "Port", NULL}},