SetRenewSetting

Configure automatic refresh limits and scope.

GoInt SetRenewSetting(GoInt rateLimit, GoInt countLimit, GoUint8 onlyPortHasConfig)

Parameters

  • rateLimit: Refresh interval/rate limit.

  • countLimit: Maximum number of refresh operations.

  • onlyPortHasConfig: 0 = apply to active ports; 1 = only to active ports with configure-port enabled.

Return Value

  • GoInt: 0 on success.

Example

// example

SetRenewSetting(60, 100, 0);

Last updated

Was this helpful?