mirror of
https://github.com/samba-team/samba.git
synced 2025-02-08 05:57:51 +03:00
1bbc4fad43
If there aren't enough addresses in the list then the shift will silently fail and the printed address will be the unshifted value of $1, which is incorrect/unexpected. So, sanity check the node number. Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com>