File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -115,16 +115,16 @@ class Message: public SequenceBER, private PDU {
115115 */
116116 class OID {
117117 public:
118- static constexpr char *COLDSTART = " 1.3.6.1.6.3.1.1.5.1" ;
119- static constexpr char *WARMSTART = " 1.3.6.1.6.3.1.1.5.2" ;
120- static constexpr char *LINKDOWN = " 1.3.6.1.6.3.1.1.5.3" ;
121- static constexpr char *LINKUP = " 1.3.6.1.6.3.1.1.5.4" ;
122- static constexpr char *AUTHENTICATIONFAILURE = " 1.3.6.1.6.3.1.1.5.5" ;
118+ static constexpr const char *COLDSTART = " 1.3.6.1.6.3.1.1.5.1" ;
119+ static constexpr const char *WARMSTART = " 1.3.6.1.6.3.1.1.5.2" ;
120+ static constexpr const char *LINKDOWN = " 1.3.6.1.6.3.1.1.5.3" ;
121+ static constexpr const char *LINKUP = " 1.3.6.1.6.3.1.1.5.4" ;
122+ static constexpr const char *AUTHENTICATIONFAILURE = " 1.3.6.1.6.3.1.1.5.5" ;
123123
124124 private:
125- static constexpr char *SYSUPTIME = " 1.3.6.1.2.1.1.3.0" ;
126- static constexpr char *SNMPTRAPOID = " 1.3.6.1.6.3.1.1.4.1.0" ;
127- static constexpr char *SNMPTRAPENTERPRISE = " 1.3.6.1.6.3.1.1.4.3.0" ;
125+ static constexpr const char *SYSUPTIME = " 1.3.6.1.2.1.1.3.0" ;
126+ static constexpr const char *SNMPTRAPOID = " 1.3.6.1.6.3.1.1.4.1.0" ;
127+ static constexpr const char *SNMPTRAPENTERPRISE = " 1.3.6.1.6.3.1.1.4.3.0" ;
128128
129129 friend class Message ;
130130 };
You can’t perform that action at this time.
0 commit comments