set_row in snmpTargetAddrExtEntry::instance

Samuel Lokshin slokshin____avtec.com
Thu Jun 19 01:39:36 CEST 2003


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