mirror of
https://github.com/samba-team/samba.git
synced 2025-01-26 10:04:02 +03:00
c37e3c05b0
Remote IP validation is only called when a takeover run is about to happen anyway, so don't bother flagging one. Given that a takeover run isn't being triggered, also drop the test that checks if takeover runs are disabled. These are the only uses of the rec argument, so drop it. One possible further simplification would be to remove this function because it doesn't accomplish anything. However, it is worth leaving it as a reminder that remote IP validation should be done properly at some time in the future. Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com>