On Thu, Dec 09, 2021 at 09:45:38PM +0530, Feroz wrote:
> In the NetSNMP sample code I see the following block.
> I would like to understand if NetSNMP support "CreateAndWait"
> 
> File: ipAddressTable.c
> 
>     if (ROWSTATUS_CREATEANDWAIT == ipAddressRowStatus_val) {
>         DEBUGMSGTL(("ipAddressTable", "createAndWait not supported\n"));
>         return MFD_NOT_VALID_EVER;
>     }
> 
> If I remove the above block from the generated Code, will I be able to
> perform CreateAndWait?

Net-SNMP supports CreateAndWait - it is after all just one of the
possible values one can give to a variable of type RowStatus.

ipAddressTable.c - which implements ipAddressTable - does not support
CreateAndWait as the above code shows.

If you remove that check CreateAndWait support won't magically appear,
instead you will most likeley end up with timeouts and/or broken internal
state as it presumably isn't prepared for that input value - that is why
the check is there in the first place.

/MF

> -- 
> Regards,
> Feroz Ahmed


> _______________________________________________
> Net-snmp-coders mailing list
> Net-snmp-coders@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/net-snmp-coders



_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to