summaryrefslogtreecommitdiff
path: root/ASNMP
diff options
context:
space:
mode:
authordhinton <dhinton@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2003-08-24 20:12:29 +0000
committerdhinton <dhinton@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2003-08-24 20:12:29 +0000
commit2ad14bd45a6fbbd5f2ab97fbc65c69468100c260 (patch)
tree09a1d5807fd3f5fe5749c633e8bc0265e6429d89 /ASNMP
parent5381fcc3af506f9c94f13ddcfc00244f9fd689cd (diff)
downloadATCD-2ad14bd45a6fbbd5f2ab97fbc65c69468100c260.tar.gz
ChangeLogTag:Sun Aug 24 20:21:02 UTC 2003 Don Hinton <dhinton@dresystems.com>
Diffstat (limited to 'ASNMP')
-rw-r--r--ASNMP/asnmp/ctr64.cpp1
-rw-r--r--ASNMP/asnmp/octet.cpp2
2 files changed, 2 insertions, 1 deletions
diff --git a/ASNMP/asnmp/ctr64.cpp b/ASNMP/asnmp/ctr64.cpp
index 264c97a3ac2..bd227753d2e 100644
--- a/ASNMP/asnmp/ctr64.cpp
+++ b/ASNMP/asnmp/ctr64.cpp
@@ -61,6 +61,7 @@ Counter64::Counter64( unsigned long long llw )
//------------------[ copy constructor ]---------------------------------
Counter64::Counter64( const Counter64 &ctr64 )
+ : SnmpSyntax (ctr64)
{
smival.syntax = sNMP_SYNTAX_CNTR64;
smival.value.hNumber.hipart = ctr64.high();
diff --git a/ASNMP/asnmp/octet.cpp b/ASNMP/asnmp/octet.cpp
index c273348ac7e..216739cf7a6 100644
--- a/ASNMP/asnmp/octet.cpp
+++ b/ASNMP/asnmp/octet.cpp
@@ -122,7 +122,7 @@ void OctetStr::set_data( const SmiBYTE* string, long size)
//============[ constructor using another octet object ]==============
OctetStr::OctetStr ( const OctetStr &octet):
- output_buffer(0), validity(1)
+ SnmpSyntax (octet), output_buffer(0), validity(1)
{
init_octet_smi(smival);
// check for zero len case