[AGENT++] IpAddress: how to create a Hex-String instead a String?

Claus Klein claus.klein at arcormail.de
Sat Nov 13 22:45:01 CET 2010


Hi Jochen,

I missed a second function at the address class.

    /**
+   * Get the InetAddressType value for this address
+   */
+  virtual int get_inet_address_type() const
+    { return (ip_version == version_ipv4) ? e_ipv4 :
+	     (have_ipv6_scope ? e_ipv6z : e_ipv6); };
+
+  /**


We need the InetAddressType very often at MIBs.

So perhaps you will have a look at my patch and add it to the next  
release?

With Regards,

Claus

-------------- next part --------------



More information about the AGENTPP mailing list