do not require the max_packets arg for loop functions
do not require the max_packets arg for loop functions

The documentation says that the max_packets is currently unused and
should be set to 1 for future use, so we don't require that arg and
set it to 1 if not specified.

Signed-off-by: Natanael Copa <d6dfbe96822fc6f407d114112670f8d1571509f1@alpinelinux.org>

israellot/lua-mosquitto,nemik/lua-mosquitto,nemik/lua-mosquitto