3.114.20. NoAddressHook Previous topic Parent topic Child topic Next topic

NoAddressHook is called when there are no addresses left or the allocation fails because of too many simultaneous tries.
NoAddressHook is passed with the following arguments:
  • Reference to the current request object
  • Reference to the current reply object
  • Reference to current authentication result
  • Reference to a string variable holding the reason for a reject
  • String variable holding value of pool hint
To change the type of reply, change the third argument from $main::REJECT to the desired value.