set_row in snmpTargetAddrExtEntry::instance
Frank Fock
Frank.Fock____t-online.de
Thu Jun 19 12:48:55 CEST 2003
Hi Samuel,
This is a limitation of the set_row method only.
Thus, just replace the "const char*" by "const OctetStr&"
and everything would be fine. The next update release of
AGENT++ will include this fix.
Best regards,
Frank Fock
Samuel Lokshin wrote:
> Hi,
>
> I have a question about function
> snmpTargetAddrExtEntry::instance->set_row(r, "\xFF\xFF\xFF\xFF\xFF\xFF", 1500);
>
> How can I create a mask FF FF FF FF 00 00 ?
> The second parameter is const char *, so if I write
> snmpTargetAddrExtEntry::instance->set_row(r, "\xFF\xFF\xFF\xFF\x00\x00", 1500);
> it will think that the length is 4 and mask
> becomes only FF FF FF FF.
>
> I can formulate question differently how can I allow any port or how can I allow
> any address within the subnet match?
>
> Thanks in advance.
> Samuel Lokshin
>
More information about the AGENTPP
mailing list