]> git.stg.codes - stg.git/commitdiff
Change OID in responce for the GetNext request
authorMaxim Mamontov <faust.madf@gmail.com>
Mon, 8 Aug 2011 18:29:34 +0000 (21:29 +0300)
committerMaxim Mamontov <faust.madf@gmail.com>
Mon, 8 Aug 2011 18:29:34 +0000 (21:29 +0300)
projects/stargazer/plugins/other/smux/handlers.cpp

index 19304c52245e1ed9abe0b18a1f423e7cf3fbc4eb..b2292bda2cf6bffc6aef903b0918b5963af13a07 100644 (file)
@@ -128,7 +128,7 @@ for (int i = 0; i < vbl->list.count; ++i)
     VarBind_t newVb;
     memset(&newVb, 0, sizeof(newVb));
 
     VarBind_t newVb;
     memset(&newVb, 0, sizeof(newVb));
 
-    newVb.name = vb->name;
+    it->first.ToOID(&newVb.name);
     it->second->GetValue(&newVb.value);
 
     ASN_SEQUENCE_ADD(varBindList, &newVb);
     it->second->GetValue(&newVb.value);
 
     ASN_SEQUENCE_ADD(varBindList, &newVb);