Commit f888e25a authored by claes's avatar claes

Attribute in node-object CurVersion changed to CurrentVersion

parent 38dd5b05
......@@ -288,14 +288,14 @@ init_node (
int tmo;
dt = MAX(1, (int)(o->SubscriptionInterval * 1000));
tmo = MAX(2 * dt, 10000); /* 10 s */
tmo = MAX(2 * dt/100, 100); /* 10 s */
sts = gdh_SetSubscriptionDefaults (dt, tmo);
tid.pwr = pwr_eClass_Node;
tid.c.bix = 1;
aref.Objid = o->Node;
sts = gdh_ClassAttrToAttrref(pwr_eClass_Node, ".CurVersion", &aref);
sts = gdh_ClassAttrToAttrref(pwr_eClass_Node, ".CurrentVersion", &aref);
sts = gdh_SubRefObjectInfoAttrref(&aref, &o->SubId);
if ( EVEN(sts))
errh_Error("Couldn't get link to Node object, %m", sts);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment